diff --git a/home-manager/home-manager.nix b/home-manager/home-manager.nix index 7a6748942..04c2d28d3 100644 --- a/home-manager/home-manager.nix +++ b/home-manager/home-manager.nix @@ -1,6 +1,6 @@ { pkgs ? import {} , confPath -, confAttr +, confAttr ? null , check ? true , newsReadIdsFile ? null }: @@ -11,7 +11,7 @@ let env = import ../modules { configuration = - if confAttr == "" + if confAttr == "" || confAttr == null then confPath else (import confPath).${confAttr}; pkgs = pkgs;