test-vm: Auto login a user and assume its sudo

This commit is contained in:
Alexander Heldt
2024-11-09 10:08:18 +01:00
parent 18c95d2f9c
commit 6b79aa8fca

View File

@@ -18,6 +18,8 @@
extraGroups = [ "wheel" ];
password = "a";
};
services.getty.autologinUser = "a";
security.sudo.wheelNeedsPassword = false;
virtualisation.vmVariant = {
# following configuration is added only when building VM with build-vm