♻️ Move hashedPasswordFile into inherit section

This commit is contained in:
Jo 2025-05-22 02:09:21 +02:00
parent d7a1a9ffbd
commit 65f710a179

View file

@ -49,8 +49,7 @@ in {
users.users = lib.mapAttrs (username: userConfig: users.users = lib.mapAttrs (username: userConfig:
mkIf userConfig.enable { mkIf userConfig.enable {
name = username; name = username;
hashedPasswordFile = userConfig.hashedPasswordFile; inherit (userConfig) isNormalUser isSystemUser initialPassword hashedPasswordFile password extraGroups;
inherit (userConfig) isNormalUser isSystemUser initialPassword password extraGroups;
}) })
cfg; cfg;