puter/hosts/headful/glacier/users.nix

16 lines
321 B
Nix
Raw Normal View History

2024-12-30 21:53:43 +00:00
{
config,
lib,
...
}: {
age.secrets = lib.mkSecrets {"user-guest" = {};};
2024-12-30 21:52:20 +00:00
users.users.guest = {
description = "Guest";
uid = 1001;
isNormalUser = true;
hashedPasswordFile = config.age.secrets."user-guest".path;
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
};
}