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

let
  ymirUsers = {
    "mherold" = import ./users/mherold.nix;
    "llovisa" = import ./users/llovisa.nix;
    "vkleen" = import ./users/vkleen.nix;
    "tkleen" = import ./users/tkleen.nix;
    "mkleen" = import ./users/mkleen.nix;
    "lkellers" = import ./users/lkellers.nix;
    "mwgnr" = import ./users/mwagner.nix;
    "ineumann" = import ./users/ineumann.nix;
  };
in {
  users.mutableUsers = false;
  users.defaultUserShell = "/run/current-system/sw/bin/zsh";
  users.extraUsers = {
    "gkleen" = import ./users/gkleen.nix;
  } // (if config.networking.hostName == "ymir" then ymirUsers else {});
}