summaryrefslogtreecommitdiff
path: root/hosts/test_vm/default.nix
blob: 280cb9a5b96ae2a1f181a7c8d0f4c06126015ff7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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;
    };
  };
}