base: users: don't use deprecated passwordFile opt

This commit is contained in:
Antoine Martin 2023-11-30 03:54:39 +01:00
parent 45a252d17a
commit d199eaf7b2

View file

@ -8,10 +8,10 @@
in {
users.mutableUsers = false;
users.users.root = {
passwordFile = config.age.secrets."users/root-hashed-password".path;
hashedPasswordFile = config.age.secrets."users/root-hashed-password".path;
};
users.users.alarsyo = {
passwordFile = config.age.secrets."users/alarsyo-hashed-password".path;
hashedPasswordFile = config.age.secrets."users/alarsyo-hashed-password".path;
isNormalUser = true;
extraGroups = [
"media"