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
2f9d3417d4
commit
c13e57f584
|
@ -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