1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-05-11 22:49:04 +02:00
parent be9fb9278e
commit b8af0e9761
No known key found for this signature in database
165 changed files with 1815 additions and 1431 deletions

View file

@ -2,10 +2,12 @@
config,
lib,
...
}: let
}:
let
inherit (config.users) mainUser;
in {
age.secrets = lib.mkSecrets {"user-${mainUser}" = {};};
in
{
age.secrets = lib.mkSecrets { "user-${mainUser}" = { }; };
users = {
mutableUsers = false;
@ -20,7 +22,7 @@ in {
isNormalUser = true;
hashedPasswordFile = config.age.secrets."user-${mainUser}".path;
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
extraGroups = ["wheel"]; #TODO remove
extraGroups = [ "wheel" ]; # TODO remove
};
};
};