pluh 🗣
This commit is contained in:
parent
516b647ed4
commit
5a904c8507
|
@ -13,17 +13,14 @@ in {
|
||||||
mainUser = "lukas";
|
mainUser = "lukas";
|
||||||
|
|
||||||
users = {
|
users = {
|
||||||
root = {
|
root.hashedPassword = "!";
|
||||||
hashedPassword = "!";
|
|
||||||
# TODO define this more granularly
|
|
||||||
openssh.authorizedKeys.keys = [];
|
|
||||||
};
|
|
||||||
${mainUser} = {
|
${mainUser} = {
|
||||||
description = "Lukas Wurzinger";
|
description = "Lukas Wurzinger";
|
||||||
uid = 1000;
|
uid = 1000;
|
||||||
isNormalUser = true;
|
isNormalUser = true;
|
||||||
hashedPasswordFile = config.age.secrets."user-${mainUser}".path;
|
hashedPasswordFile = config.age.secrets."user-${mainUser}".path;
|
||||||
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
|
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
|
||||||
|
extraGroups = ["wheel"];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue