From ce35396da0488a1503d64a651e748e3233e24107 Mon Sep 17 00:00:00 2001 From: rnhmjoj Date: Tue, 10 Nov 2020 01:05:00 +0100 Subject: [PATCH] testing: save some common cli options --- testing.nix | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/testing.nix b/testing.nix index 26dbd45..4d31085 100644 --- a/testing.nix +++ b/testing.nix @@ -10,11 +10,18 @@ in ./configuration.nix ]; - # Ensure secrets are accessible by the - # activation scripts at runtime. + virtualisation.memorySize = "4000"; # MB + virtualisation.qemu.options = [ + # Use serial console to access the VM + "-display none" + "-serial mon:stdio" + + # Ensure secrets are accessible by the + # activation scripts at runtime. "-virtfs local,path=${secrets},security_model=none,mount_tag=secrets" ]; + fileSystems = lib.mkVMOverride { "${secrets}" = { device = "secrets";