summaryrefslogtreecommitdiff
path: root/users.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-05-03 22:05:14 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-05-03 22:05:14 +0200
commit0daf0fdabca49259c303d269c86b328e9a35d152 (patch)
tree5ef3cb19014d2ff9bdef50485d5d5176719792ab /users.nix
parentc2de66b60663fbb7ca00323e9eaca4f4a8c8c0a8 (diff)
downloadnixos-0daf0fdabca49259c303d269c86b328e9a35d152.tar
nixos-0daf0fdabca49259c303d269c86b328e9a35d152.tar.gz
nixos-0daf0fdabca49259c303d269c86b328e9a35d152.tar.bz2
nixos-0daf0fdabca49259c303d269c86b328e9a35d152.tar.xz
nixos-0daf0fdabca49259c303d269c86b328e9a35d152.zip
ineumann on ymir
Diffstat (limited to 'users.nix')
-rw-r--r--users.nix5
1 files changed, 3 insertions, 2 deletions
diff --git a/users.nix b/users.nix
index 89c4f240..1e5af593 100644
--- a/users.nix
+++ b/users.nix
@@ -1,7 +1,7 @@
1{config, ...}: 1{config, ...}:
2 2
3let 3let
4 xmppUsers = { 4 ymirUsers = {
5 "mherold" = import ./users/mherold.nix; 5 "mherold" = import ./users/mherold.nix;
6 "llovisa" = import ./users/llovisa.nix; 6 "llovisa" = import ./users/llovisa.nix;
7 "vkleen" = import ./users/vkleen.nix; 7 "vkleen" = import ./users/vkleen.nix;
@@ -9,11 +9,12 @@ let
9 "mkleen" = import ./users/mkleen.nix; 9 "mkleen" = import ./users/mkleen.nix;
10 "lkellers" = import ./users/lkellers.nix; 10 "lkellers" = import ./users/lkellers.nix;
11 "mwgnr" = import ./users/mwagner.nix; 11 "mwgnr" = import ./users/mwagner.nix;
12 "ineumann" = import ./users/ineumann.nix;
12 }; 13 };
13in { 14in {
14 users.mutableUsers = false; 15 users.mutableUsers = false;
15 users.defaultUserShell = "/run/current-system/sw/bin/zsh"; 16 users.defaultUserShell = "/run/current-system/sw/bin/zsh";
16 users.extraUsers = { 17 users.extraUsers = {
17 "gkleen" = import ./users/gkleen.nix; 18 "gkleen" = import ./users/gkleen.nix;
18 } // (if config.networking.hostName == "ymir" then xmppUsers else {}); 19 } // (if config.networking.hostName == "ymir" then ymirUsers else {});
19} 20}