summaryrefslogtreecommitdiff
path: root/users.nix
blob: cfabd4ea5363ec458a7d5fd1acee7ad787807437 (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 (builtins.toPath ("./users/" + name + ".nix")) {}; })
    ["gkleen"] ++ (if config.networking.hostname == "ymir" then xmppUsers else []));
}