diff options
Diffstat (limited to 'users.nix')
-rw-r--r-- | users.nix | 9 |
1 files changed, 7 insertions, 2 deletions
@@ -1,5 +1,10 @@ | |||
1 | { | 1 | {config, ...}: |
2 | |||
3 | let | ||
4 | xmppUsers = []; | ||
5 | in { | ||
2 | users.mutableUsers = false; | 6 | users.mutableUsers = false; |
3 | users.defaultUserShell = "/run/current-system/sw/bin/zsh"; | 7 | users.defaultUserShell = "/run/current-system/sw/bin/zsh"; |
4 | users.extraUsers.gkleen = import ./users/gkleen.nix; | 8 | users.extraUsers = builtins.listToAttrs (map (name: { inherit name; value = import (builtins.toPath ("./users/" + name + ".nix")) {}; }) |
9 | ["gkleen"] ++ (if config.networking.hostname == "ymir" then xmppUsers else [])); | ||
5 | } | 10 | } |