1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2024-12-30 22:52:20 +01:00
parent 29f54e7a5c
commit 5239ad4550
No known key found for this signature in database
12 changed files with 89 additions and 14 deletions

View file

@ -10,18 +10,19 @@ in {
users = {
mutableUsers = false;
mainUser = "lukas";
users = {
root = {
hashedPassword = "!";
openssh.authorizedKeys.keys = builtins.attrValues (import ../pubkeys.nix).hosts;
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.hosts;
};
${mainUser} = {
description = "Lukas Wurzinger";
uid = 1000;
isNormalUser = true;
hashedPasswordFile = config.age.secrets."user-${mainUser}".path;
openssh.authorizedKeys.keys = builtins.attrValues (import ../pubkeys.nix).users;
extraGroups = ["wheel"];
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
};
};
};