From 4d49cee1947e8b69fc7a876741dd9c0fe2650c72 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Wed, 20 May 2020 14:23:53 -0500 Subject: [PATCH] home-manager: allow unspecified `confAttr` PR #1255 --- home-manager/home-manager.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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;