nix/users/q.nix (view raw)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
{ config, ... }:
{
age.secrets.q-password.file = ../secrets/q-password.age;
users.users.q = {
isNormalUser = true;
extraGroups = [
"wheel"
"headscale"
];
hashedPasswordFile = config.age.secrets.q-password.path;
openssh.authorizedKeys.keys = import ./_sshkeys.nix;
};
}
|