From 79bce9348286292464d72de604d83415a617aec3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Wed, 30 Sep 2015 23:46:02 +0200 Subject: attempt at implicit string/path conversion --- users.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/users.nix b/users.nix index ef924429..d181a770 100644 --- a/users.nix +++ b/users.nix @@ -5,6 +5,6 @@ let in { users.mutableUsers = false; users.defaultUserShell = "/run/current-system/sw/bin/zsh"; - users.extraUsers = builtins.listToAttrs (map (name: { inherit name; value = import (builtins.toPath ("./users/" + name + ".nix")) {}; }) + users.extraUsers = builtins.listToAttrs (map (name: { inherit name; value = import (./users/ + name + ".nix") {}; }) ["gkleen"] ++ (if config.networking.hostName == "ymir" then xmppUsers else [])); } -- cgit v1.2.3