diff --git a/home/profile.nix b/home/profile.nix index ef8be539..d14f39c4 100644 --- a/home/profile.nix +++ b/home/profile.nix @@ -159,6 +159,12 @@ in { # enable passwordless sudo security.sudo.wheelNeedsPassword = false; + + # enable access in build-vm + virtualisation.vmVariant = { + users.users.koishi.password = "passwd"; + users.users.koishi.hashedPasswordFile = mkForce null; + }; }; # this is for home components that need to extend nixos