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