From c759f783126a04db13c20a76d170b345bfa1052e Mon Sep 17 00:00:00 2001 From: lassulus Date: Sat, 24 Jun 2017 16:36:37 +0200 Subject: k 3 setuid: activate only if cfg is not empty --- krebs/3modules/setuid.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'krebs') diff --git a/krebs/3modules/setuid.nix b/krebs/3modules/setuid.nix index a17ec0883..02176ec4a 100644 --- a/krebs/3modules/setuid.nix +++ b/krebs/3modules/setuid.nix @@ -5,7 +5,7 @@ let out = { options.krebs.setuid = api; - config = imp; + config = mkIf (cfg != {}) imp; }; api = mkOption { -- cgit v1.2.3