mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-01-11 09:44:08 -05:00
add initial hashed password to root
This commit is contained in:
parent
dd4079314b
commit
29ddfb2c30
1 changed files with 1 additions and 1 deletions
|
|
@ -40,8 +40,8 @@ in {
|
|||
# Root user setup
|
||||
root = {
|
||||
shell = pkgs.zsh;
|
||||
initialHashedPassword = "$y$j9T$xK9d9psdUDXilZld6Kn/l1$8aqdwzchX8hjlvalDIInRkEXKfVPQWrs1qRFiPSwjKB"; # Initial root password for installs
|
||||
hashedPasswordFile = config.users.users.${hostSpec.username}.hashedPasswordFile;
|
||||
hashedPassword = config.users.users.${hostSpec.username}.hashedPassword;
|
||||
openssh.authorizedKeys.keys = config.users.users.${hostSpec.username}.openssh.authorizedKeys.keys; # root's ssh keys are mainly used for remote deployment.
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue