add initial Password

This commit is contained in:
Kabbone 2022-09-17 22:50:14 +02:00
parent e454d95a99
commit 09e22ff147
Signed by: Kabbone
SSH Key Fingerprint: SHA256:iDfA/JbfNCsPT5EOvS1y+ZKaiXstaTWgm/6oQPn6LYg

View File

@ -20,8 +20,10 @@
users.users.${user} = { # System User
isNormalUser = true;
extraGroups = [ "wheel" "video" "audio" "camera" "networkmanager" "lp" "scanner" "kvm" "libvirtd" ];
extraGroups = [ "wheel" "video" "audio" "camera" "networkmanager" "lp" "kvm" "libvirtd" ];
shell = pkgs.zsh; # Default shell
uid = 2000;
initialPassword = "password95";
};
#security.sudo.wheelNeedsPassword = true; # User does not need to give password when using sudo.