From 0a36765c2997a02fb45e215561111dc58f42684e Mon Sep 17 00:00:00 2001 From: Alexander Heldt Date: Sat, 9 Nov 2024 10:08:18 +0100 Subject: [PATCH] test-vm: Auto login `a` user and assume its `sudo` --- hosts/test-vm/configuration.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/hosts/test-vm/configuration.nix b/hosts/test-vm/configuration.nix index 3bccf50..2ff717f 100644 --- a/hosts/test-vm/configuration.nix +++ b/hosts/test-vm/configuration.nix @@ -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