diff --git a/home-manager/home-manager.nix b/home-manager/home-manager.nix index 206a1bcef..a4b3c4439 100644 --- a/home-manager/home-manager.nix +++ b/home-manager/home-manager.nix @@ -11,10 +11,9 @@ let env = import { configuration = - let - conf = import confPath; - in - if confAttr == "" then conf else conf.${confAttr}; + if confAttr == "" + then confPath + else (import confPath).${confAttr}; pkgs = pkgs; check = check; };