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

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