summary refs log tree commit diff
path: root/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
diff options
context:
space:
mode:
authorJanne Heß <janne@hess.ooo>2019-04-23 14:04:40 +0200
committerJanne Heß <janne@hess.ooo>2019-04-23 14:04:40 +0200
commit5fbf3067607ea85240987a7238fe69150c45508c (patch)
tree6eaab02ee926de031eb8944b924708846d820604 /nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
parent029a37c6f564cd2dcece9662e81085ddd25a4852 (diff)
downloadnixpkgs-5fbf3067607ea85240987a7238fe69150c45508c.tar
nixpkgs-5fbf3067607ea85240987a7238fe69150c45508c.tar.gz
nixpkgs-5fbf3067607ea85240987a7238fe69150c45508c.tar.bz2
nixpkgs-5fbf3067607ea85240987a7238fe69150c45508c.tar.lz
nixpkgs-5fbf3067607ea85240987a7238fe69150c45508c.tar.xz
nixpkgs-5fbf3067607ea85240987a7238fe69150c45508c.tar.zst
nixpkgs-5fbf3067607ea85240987a7238fe69150c45508c.zip
nixos/icingaweb2: Fix environment.etc assignment
Diffstat (limited to 'nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix')
-rw-r--r--nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix b/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
index 644aad82df2..910e1d937bf 100644
--- a/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
+++ b/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix
@@ -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)