From 1be972048dd58218cd689ecb5cac562eb398b751 Mon Sep 17 00:00:00 2001 From: Jakub Stachurski Date: Sun, 17 Aug 2025 11:25:33 +0200 Subject: refreshed config --- hosts/test_vm/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 hosts/test_vm/default.nix (limited to 'hosts/test_vm/default.nix') 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; + }; + }; +} -- cgit v1.3.1