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

@@ -6,11 +6,12 @@
inputs,
...
}:
let
in
{
system.stateVersion = "25.11";
imports = builtins.trace "${inputs.mysecrets}" [
(modulesPath + "/installer/scan/not-detected.nix")
./network.nix
./disk-config.nix
./hardware-configuration.nix
../../modules/core
@@ -36,9 +37,20 @@ in
};
};
services.openssh.enable = true;
## Enable virtualisation guest settings
services.qemuGuest.enable = true;
services.spice-vdagentd.enable = true;
services.xserver = {
videoDrivers = [ "modesetting" ]; # Driver vidéo optimisé pour QEMU/KVM
};
networking.hostName = "${hostname}";
environment.systemPackages = [
pkgs.spice-gtk # Outils SPICE
pkgs.spice-protocol # Protocoles SPICE
];
system.stateVersion = "25.11";
#fileSystems."/" = {
# device = "/dev/vda2"; # Disque virtuel typique
# fsType = "btrfs";
#};
}