diff options
Diffstat (limited to 'hosts/test_vm/default.nix')
| -rw-r--r-- | hosts/test_vm/default.nix | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/hosts/test_vm/default.nix b/hosts/test_vm/default.nix new file mode 100644 index 0000000..280cb9a --- /dev/null +++ b/hosts/test_vm/default.nix @@ -0,0 +1,17 @@ +{pkgs, lib, ...}: { + + boot.loader.systemd-boot.enable = true; + boot.loader.efi.canTouchEfiVariables = true; + + addons.desktop.hyprland.enable = true; + addons.desktop.xfce.enable = true; + addons.virtualisation.guest = true; + virtualisation.vmVariant = { + # following configuration is added only when building VM with build-vm + virtualisation = { + memorySize = 2048; # Use 2048MiB memory. + cores = 3; + graphics = true; + }; + }; +} |
