1
0
Fork 0
puter/hosts/glacier/users.nix

14 lines
401 B
Nix
Raw Normal View History

2025-07-14 21:18:44 +02:00
{ config, inputs, ... }:
2025-04-08 23:27:00 +02:00
{
2025-07-14 21:18:44 +02:00
age.secrets.user-helvetica.file = inputs.self + /secrets/users/helvetica.age;
users.users.helvetica = {
description = "Helvetica";
uid = 1000;
2025-04-08 23:27:00 +02:00
isNormalUser = true;
2025-07-14 21:18:44 +02:00
hashedPasswordFile = config.age.secrets.user-helvetica.path;
openssh.authorizedKeys.keys = builtins.attrValues config.pubkeys.users;
extraGroups = [ "wheel" ]; # TODO remove
2025-04-08 23:27:00 +02:00
};
}