stuff
This commit is contained in:
parent
3f6dafe073
commit
79792e5a76
24 changed files with 143 additions and 101 deletions
|
@ -1,29 +1,6 @@
|
|||
{
|
||||
inputs,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
let
|
||||
inherit (config.users) mainUser;
|
||||
in
|
||||
{
|
||||
age.secrets."user-${mainUser}".file = inputs.self + /secrets/users/${mainUser}.age;
|
||||
|
||||
users = {
|
||||
mutableUsers = false;
|
||||
|
||||
mainUser = "helvetica";
|
||||
|
||||
users = {
|
||||
root.hashedPassword = "!";
|
||||
${mainUser} = {
|
||||
description = "Helvetica";
|
||||
uid = 1000;
|
||||
isNormalUser = true;
|
||||
hashedPasswordFile = config.age.secrets."user-${mainUser}".path;
|
||||
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
|
||||
extraGroups = [ "wheel" ]; # TODO remove
|
||||
};
|
||||
};
|
||||
users.root.hashedPassword = "!";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue