aboutsummaryrefslogtreecommitdiff
path: root/modules/users/default.nix
blob: 0d5e297a718fcb375ed690455437c47507154b19 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
{ pkgs, ... }:
{
  users = {
    users.tdback = {
      isNormalUser = true;
      uid = 1000;
      home = "/home/tdback";
      group = "tdback";
      extraGroups = [
        "wheel"
        "users"
        "networkmanager"
        "video"
        "audio"
      ];
      shell = pkgs.bash;
      ignoreShellProgramCheck = true;
      openssh.authorizedKeys.keys = [
        "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICSDrYIsIPOpxB2qap2EPAREK1yupGw/GuyWkvo8IcDD"
      ];
    };
    groups.tdback.gid = 1000;
  };
}