summary refs log tree commit diff stats
path: root/system/users/default.nix
blob: 33144f4f2d8c5e7cc4c433827f3e1b41675f1e0a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
{pkgs, ...}: {
  users = {
    mutableUsers = false;
    defaultUserShell = pkgs.zsh;
    users = {
      root = {
        initialHashedPassword = null; # to lock root
        openssh.authorizedKeys.keys = [];
      };

      sils = {
        name = "sils";
        isNormalUser = true;
        home = "/home/sils";
        initialHashedPassword = "$y$jFT$KpFnahVCE9JbE.5P3us8o.$ZzSxCusWqe3sL7b6DLgOXNNUf114tiiptM6T8lDxtKC";
        uid = 1000;
        extraGroups = [
          "wheel"
        ];
        openssh.authorizedKeys.keys = [
          "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIG63gxw8JePmrC8Fni0pLV4TnPBhCPmSV9FYEdva+6s7 sils"
        ];
      };

      soispha = {
        name = "soispha";
        isNormalUser = true;
        home = "/home/soispha";
        initialHashedPassword = "$y$jFT$3.8XmUyukZvpExMUxDZkI.$IVrJgm8ysNDF/0vDD2kF6w73ozXgr1LMVRNN4Bq7pv1";
        uid = 1001;
        extraGroups = [
          "wheel"
        ];
        openssh.authorizedKeys.keys = [
          "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGBFuTNNn71Rhfnop2cdz3r/RhWWlCePnSBOhTBbu2ME soispha"
        ];
      };

      nightingale = {
        name = "nightingale";
        isNormalUser = true;
        home = "/home/nightingale";
        initialHashedPassword = null; # TODO CHANGE
        uid = 1002;
        extraGroups = [
          "wheel"
        ];
        openssh.authorizedKeys.keys = [
        ];
      };
    };
  };
}