summaryrefslogtreecommitdiff
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
parentc2de66b60663fbb7ca00323e9eaca4f4a8c8c0a8 (diff)
downloadnixos-0daf0fdabca49259c303d269c86b328e9a35d152.tar
nixos-0daf0fdabca49259c303d269c86b328e9a35d152.tar.gz
nixos-0daf0fdabca49259c303d269c86b328e9a35d152.tar.bz2
nixos-0daf0fdabca49259c303d269c86b328e9a35d152.tar.xz
nixos-0daf0fdabca49259c303d269c86b328e9a35d152.zip
ineumann on ymir
-rw-r--r--users.nix5
-rw-r--r--users/ineumann.nix8
2 files changed, 11 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}
diff --git a/users/ineumann.nix b/users/ineumann.nix
new file mode 100644
index 00000000..30caff0e
--- /dev/null
+++ b/users/ineumann.nix
@@ -0,0 +1,8 @@
1{
2 name = "ineumann"; # lowercase ascii, please
3 description = "Irene Neumann";
4 extraGroups = ["mail"];
5 group = "users";
6 hashedPassword = "$6$rounds=500000$ZcddLLjh9A9nT$Wdciw5g.ZHnTYcRA54LbcDePkxP.jXVgV1hRZUfCvip0noAn7AHgMimCcd570JyBzj.7clacVPsFRQZLYxWy7/";
7 isNormalUser = true;
8}