diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 23:46:02 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2015-09-30 23:46:02 +0200 |
| commit | 79bce9348286292464d72de604d83415a617aec3 (patch) | |
| tree | d2016907f3a64f82d4d9052a3cd65ccd7d5b9567 | |
| parent | 9ba3da0b46536ce61cd56fd3cd393808352e58dd (diff) | |
| download | nixos-79bce9348286292464d72de604d83415a617aec3.tar nixos-79bce9348286292464d72de604d83415a617aec3.tar.gz nixos-79bce9348286292464d72de604d83415a617aec3.tar.bz2 nixos-79bce9348286292464d72de604d83415a617aec3.tar.xz nixos-79bce9348286292464d72de604d83415a617aec3.zip | |
attempt at implicit string/path conversion
| -rw-r--r-- | users.nix | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -5,6 +5,6 @@ let | |||
| 5 | in { | 5 | in { |
| 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 | } |
