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

let
  xmppUsers = {
    "mherold" = import ./users/mherold.nix;
    "llovisa" = import ./users/llovisa.nix;
    "vkleen" = import ./users/vkleen.nix;
    "tkleen" = import ./users/tkleen.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 xmppUsers else {});
}