prefect: configure nixos VM variant
Alan Pearce alan@alanpearce.eu
Tue, 25 Jun 2024 20:52:50 +0200
1 files changed, 20 insertions(+), 0 deletions(-)
jump to
M system/prefect.nix → system/prefect.nix
@@ -31,6 +31,26 @@ <nixos-hardware/common/pc> <nixos-hardware/common/gpu/nvidia> ]; + virtualisation.vmVariant = { + disabledModules = [ + ./settings/hardware/nvidia-gpu.nix + ./settings/hardware/bare-metal.nix + ./settings/gaming.nix + ./settings/user-interface.nix + ./settings/programs/kde.nix + <nixos-hardware/common/cpu/amd> + <nixos-hardware/common/cpu/amd/pstate.nix> + <nixos-hardware/common/pc/ssd> + <nixos-hardware/common/pc> + <nixos-hardware/common/gpu/nvidia> + ]; + services.qemuGuest.enable = true; + virtualisation = { + memorySize = 4096; + cores = 4; + }; + }; + nixpkgs.hostPlatform = "x86_64-linux"; services.xserver.screenSection = ''