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