stuff
This commit is contained in:
parent
f44a65d108
commit
e0f1f5b6fb
49 changed files with 10 additions and 2 deletions
15
hosts/headful/glacier/users.nix
Normal file
15
hosts/headful/glacier/users.nix
Normal file
|
@ -0,0 +1,15 @@
|
|||
{
|
||||
config,
|
||||
lib,
|
||||
...
|
||||
}: {
|
||||
age.secrets = lib.mkSecrets {"user-guest" = {};};
|
||||
|
||||
users.users.guest = {
|
||||
description = "Guest";
|
||||
uid = 1001;
|
||||
isNormalUser = true;
|
||||
hashedPasswordFile = config.age.secrets."user-guest".path;
|
||||
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue