summaryrefslogtreecommitdiff
path: root/users.nix
blob: f7be23f4c3398555b8fd646c3e5ca0dd2e2a770e (plain)
1
2
3
4
5
6
7
8
9
10
{config, ...}:

let
  xmppUsers = [];
in {
  users.mutableUsers = false;
  users.defaultUserShell = "/run/current-system/sw/bin/zsh";
  users.extraUsers = builtins.listToAttrs (map (name: { inherit name; value = import (./users/${name}.nix) {}; })
    ["gkleen"] ++ (if config.networking.hostName == "ymir" then xmppUsers else []));
}