add wayland

This commit is contained in:
2025-07-23 23:20:42 +02:00
parent 8c640ffe87
commit 484999d2b2
41 changed files with 1612 additions and 25 deletions

View File

@@ -35,6 +35,7 @@
${username} = {
isNormalUser = true;
createHome = true;
password = "toto";
description = "Admin account";
extraGroups = [
"wheel"
@@ -79,6 +80,7 @@
pkgs.curl
pkgs.nixos-anywhere
pkgs.nixos-generators
pkgs.ssh-to-age
];
services.openssh.enable = true;

View File

@@ -1,16 +1,28 @@
# Do not modify this file! It was generated by nixos-generate-config
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
{ config, lib, pkgs, modulesPath, ... }:
{
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports =
[ (modulesPath + "/profiles/qemu-guest.nix")
];
imports = [
(modulesPath + "/profiles/qemu-guest.nix")
];
boot.initrd.availableKernelModules = [ "ahci" "xhci_pci" "virtio_pci" "sr_mod" "virtio_blk" ];
boot.initrd.availableKernelModules = [
"ahci"
"xhci_pci"
"virtio_pci"
"sr_mod"
"virtio_blk"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.kernelModules = [ "kvm-amd" ];
boot.extraModulePackages = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";