diff options
author | Alan Pearce | 2024-06-25 20:52:50 +0200 |
---|---|---|
committer | Alan Pearce | 2024-06-25 20:52:50 +0200 |
commit | 3dc6940449d3061ce510ab65dde18ad593102a4c (patch) | |
tree | 47e7dab09cf09c48fa46c885dda556b9258d3ce2 /system | |
parent | afb53f43cc5c8b9740e106410f7bc032f74dff8f (diff) | |
download | nixfiles-3dc6940449d3061ce510ab65dde18ad593102a4c.tar.lz nixfiles-3dc6940449d3061ce510ab65dde18ad593102a4c.tar.zst nixfiles-3dc6940449d3061ce510ab65dde18ad593102a4c.zip |
prefect: configure nixos VM variant
Diffstat (limited to 'system')
-rw-r--r-- | system/prefect.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/system/prefect.nix b/system/prefect.nix index 864ccc3f..801692e3 100644 --- a/system/prefect.nix +++ b/system/prefect.nix @@ -31,6 +31,26 @@ <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 = '' |