Creating kvm test server
This commit is contained in:
@@ -8,6 +8,7 @@
|
||||
../ai.nix
|
||||
../autologin.nix
|
||||
../k8s.nix
|
||||
../libvirt.nix
|
||||
../openfortivpn.nix
|
||||
../packages.nix
|
||||
../sops-desktop.nix
|
||||
@@ -23,6 +24,7 @@
|
||||
../desktop/qwerty-fr.nix
|
||||
../desktop/rofi.nix
|
||||
../desktop/starship.nix
|
||||
../desktop/virt-manager.nix
|
||||
../desktop/wayland.nix
|
||||
|
||||
### Import Graphics modules
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
{
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
@@ -6,14 +7,21 @@
|
||||
../sops-desktop.nix
|
||||
../sudo-nopasswd.nix
|
||||
../autologin.nix
|
||||
../ssh.nix
|
||||
../packages.nix
|
||||
|
||||
### Import GUI modules
|
||||
../desktop/dunst.nix
|
||||
../desktop/kitty.nix
|
||||
../desktop/packages.nix
|
||||
../desktop/qwerty-fr.nix
|
||||
../desktop/rofi.nix
|
||||
../desktop/wayland.nix
|
||||
## Server
|
||||
../server/starship.nix
|
||||
];
|
||||
|
||||
## Enable virtualisation guest settings
|
||||
services.qemuGuest.enable = true;
|
||||
services.spice-vdagentd.enable = true;
|
||||
services.xserver = {
|
||||
videoDrivers = [ "modesetting" ]; # Driver vidéo optimisé pour QEMU/KVM
|
||||
};
|
||||
|
||||
environment.systemPackages = [
|
||||
pkgs.spice-gtk # Outils SPICE
|
||||
pkgs.spice-protocol # Protocoles SPICE
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user