summaryrefslogtreecommitdiff
path: root/depo/users.nix
blob: 4d81ac8107a8c848f3b5ba66a82053d3e4812753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ ... }:

{
  users = {
    users = {
      ben = {
        isNormalUser = true;
        home = "/home/ben";
        openssh.authorizedKeys.keys = [(builtins.readFile ../keys/ben.pub)];
        extraGroups = [ "wheel" "networkmanager" "docker" ];
      };
      nick = {
        isNormalUser = true;
        home = "/home/nick";
        openssh.authorizedKeys.keys = [(builtins.readFile ../keys/nick.pub)];
        extraGroups = [ "docker" ];
      };
    };
  };
}