From 3337b5035b32769585facc67f2c5df88cc1bb5b9 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Sat, 24 Feb 2024 15:35:03 +0800 Subject: [PATCH] home: add test password for koishi in vmVariant --- home/profile.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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