fix: add test password for koishi in vmVariant

This commit is contained in:
514fpv 2024-02-24 15:35:03 +08:00
parent e96536c461
commit 1203e87ea2
Signed by: koishi
SSH key fingerprint: SHA256:axz0uIzzY+5W19i7QOUuiw5LSqhKfCBKPf3L4xFRxLw

View file

@ -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