♻️ [shared] Moved users config to base. Use password from Sops

This commit is contained in:
2025-05-22 19:40:49 +02:00
parent 21d07edcf1
commit e4fe0e1127
5 changed files with 19 additions and 26 deletions

View File

@ -1,6 +1,5 @@
{
lib,
config,
systemConfig,
...
}:
@ -14,13 +13,4 @@
];
system.stateVersion = systemConfig.version;
users = {
mutableUsers = false;
users.${systemConfig.username} = {
isNormalUser = true;
hashedPasswordFile = config.sops.secrets.password-hash.path;
extraGroups = [ "wheel" ];
};
};
}