API controlled timezone, autoupgrades and SSH keys

This commit is contained in:
Inex Code
2021-11-22 19:53:43 +03:00
parent a71fd79588
commit 255ea374c0
5 changed files with 74 additions and 14 deletions

View File

@@ -9,6 +9,7 @@ in
"${cfg.username}" = {
isNormalUser = true;
hashedPassword = cfg.hashedMasterPassword;
openssh.authorizedKeys.keys = cfg.sshKeys;
};
} // builtins.listToAttrs (builtins.map
(user: {
@@ -16,6 +17,7 @@ in
value = {
isNormalUser = true;
hashedPassword = user.hashedPassword;
openssh.authorizedKeys.keys = user.sshKeys;
};
})
cfg.users);