aboutsummaryrefslogtreecommitdiffstats
path: root/nixos/users-home.nix
blob: baa5d91b81a4aceb964a13c9cbcf8211b2472f2d (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
{pkgs, ...}: {
  users = {
    groups = {
      anthi = {
        gid = 1001;
      };

      aris = {
        gid = 1002;
      };
    };

    users = {
      anthi = {
        isNormalUser = true;
        uid = 1001;
        group = "anthi";
        createHome = true;
        home = "/home/anthi";
        initialPassword = "password";
        shell = pkgs.zsh;
      };

      aris = {
        isNormalUser = true;
        uid = 1002;
        group = "aris";
        createHome = true;
        home = "/home/aris";
        initialPassword = "password";
        shell = pkgs.zsh;
      };
    };
  };
}