3
0
Fork 0
forked from mirrors/nixpkgs

nixos/icingaweb2: Fix environment.etc assignment

This commit is contained in:
Janne Heß 2019-04-23 14:04:40 +02:00
parent 029a37c6f5
commit 5fbf306760

View file

@ -215,7 +215,7 @@ in {
# /etc/icingaweb2
environment.etc = let
doModule = name: optionalAttrs (cfg.modules."${name}".enable) (nameValuePair "icingaweb2/enabledModules/${name}" { source = "${pkgs.icingaweb2}/modules/${name}"; });
doModule = name: optionalAttrs (cfg.modules."${name}".enable) { "icingaweb2/enabledModules/${name}".source = "${pkgs.icingaweb2}/modules/${name}"; };
in {}
# Module packages
// (mapAttrs' (k: v: nameValuePair "icingaweb2/enabledModules/${k}" { source = v; }) cfg.modulePackages)