testing: raise the VM hardware resources
This commit is contained in:
parent
69ecfd613a
commit
8e62d129c0
@ -10,8 +10,11 @@ in
|
||||
./configuration.nix
|
||||
];
|
||||
|
||||
# VM hardware setup
|
||||
virtualisation.memorySize = "4000"; # MB
|
||||
virtualisation.graphics = false;
|
||||
virtualisation.cores = 4;
|
||||
virtualisation.msize = 1 * 1024 * 1024;
|
||||
|
||||
virtualisation.qemu.options =
|
||||
[ # Ensure secrets are accessible by the
|
||||
@ -26,6 +29,10 @@ in
|
||||
neededForBoot = true;
|
||||
};
|
||||
|
||||
# These don't work in a virtual machine
|
||||
systemd.services.smartd.enable = lib.mkForce false;
|
||||
systemd.services.apcupsd.enable = lib.mkForce false;
|
||||
|
||||
# Automatically resize the console
|
||||
environment.systemPackages = [ pkgs.xterm ];
|
||||
environment.shellInit = "resize > /dev/null";
|
||||
|
Loading…
Reference in New Issue
Block a user