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:
Bruno BELANYI 2021-09-23 21:30:19 +02:00
parent 2f9d3417d4
commit c13e57f584

View file

@ -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;