add initial hashed password to root

This commit is contained in:
TheWanderingCrow 2025-06-30 10:14:23 -04:00
parent 29ddfb2c30
commit 28cb23e1a0

View file

@ -40,7 +40,7 @@ in {
# Root user setup
root = {
shell = pkgs.zsh;
initialHashedPassword = "$y$j9T$xK9d9psdUDXilZld6Kn/l1$8aqdwzchX8hjlvalDIInRkEXKfVPQWrs1qRFiPSwjKB"; # Initial root password for installs
initialPassword = "install"; # initial password for install, gets overwritten by sops
hashedPasswordFile = config.users.users.${hostSpec.username}.hashedPasswordFile;
openssh.authorizedKeys.keys = config.users.users.${hostSpec.username}.openssh.authorizedKeys.keys; # root's ssh keys are mainly used for remote deployment.
};