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 4a0c10b897
commit bd1a2000fe

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;