cleanup
This commit is contained in:
parent
29f54e7a5c
commit
5239ad4550
12 changed files with 89 additions and 14 deletions
|
@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue