modules: system: users: use 'initialHashedPassword'
This is the better option to use in case I want to have a stateless system.
This commit is contained in:
parent
4a0c10b897
commit
bd1a2000fe
|
@ -17,11 +17,11 @@ in
|
|||
|
||||
users = {
|
||||
root = {
|
||||
inherit (secrets.users.root) hashedPassword;
|
||||
initialHashedPassword = secrets.users.root.hashedPassword;
|
||||
};
|
||||
|
||||
${config.my.user.name} = {
|
||||
inherit (secrets.users.ambroisie) hashedPassword;
|
||||
initialHashedPassword = secrets.users.ambroisie.hashedPassword;
|
||||
description = "Bruno BELANYI";
|
||||
isNormalUser = true;
|
||||
shell = pkgs.zsh;
|
||||
|
|
Loading…
Reference in a new issue