blob: ef924429068f9e3fd948f6f5592b9186773953c6 (
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 []));
}
|