1
0
Fork 0
This commit is contained in:
Lukas Wurzinger 2025-01-09 00:15:30 +01:00
parent f44a65d108
commit e0f1f5b6fb
No known key found for this signature in database
49 changed files with 10 additions and 2 deletions

View 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;
};
}