summaryrefslogtreecommitdiff
path: root/users.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2015-09-30 23:46:02 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2015-09-30 23:46:02 +0200
commit79bce9348286292464d72de604d83415a617aec3 (patch)
treed2016907f3a64f82d4d9052a3cd65ccd7d5b9567 /users.nix
parent9ba3da0b46536ce61cd56fd3cd393808352e58dd (diff)
downloadnixos-79bce9348286292464d72de604d83415a617aec3.tar
nixos-79bce9348286292464d72de604d83415a617aec3.tar.gz
nixos-79bce9348286292464d72de604d83415a617aec3.tar.bz2
nixos-79bce9348286292464d72de604d83415a617aec3.tar.xz
nixos-79bce9348286292464d72de604d83415a617aec3.zip
attempt at implicit string/path conversion
Diffstat (limited to 'users.nix')
-rw-r--r--users.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/users.nix b/users.nix
index ef924429..d181a770 100644
--- a/users.nix
+++ b/users.nix
@@ -5,6 +5,6 @@ let
5in { 5in {
6 users.mutableUsers = false; 6 users.mutableUsers = false;
7 users.defaultUserShell = "/run/current-system/sw/bin/zsh"; 7 users.defaultUserShell = "/run/current-system/sw/bin/zsh";
8 users.extraUsers = builtins.listToAttrs (map (name: { inherit name; value = import (builtins.toPath ("./users/" + name + ".nix")) {}; }) 8 users.extraUsers = builtins.listToAttrs (map (name: { inherit name; value = import (./users/ + name + ".nix") {}; })
9 ["gkleen"] ++ (if config.networking.hostName == "ymir" then xmppUsers else [])); 9 ["gkleen"] ++ (if config.networking.hostName == "ymir" then xmppUsers else []));
10} 10}