diff options
author | volth <volth@volth.com> | 2019-08-13 21:52:01 +0000 |
---|---|---|
committer | volth <volth@volth.com> | 2019-08-26 21:40:19 +0000 |
commit | 35d68ef143412f579544eaac7aaa87e29f84b15e (patch) | |
tree | 7e4cc2079e73fde7e1cacdbeb17a4ea290f0a02e /nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix | |
parent | fe9c9f719d143632d31ac2b01f5f7cfbad161ce1 (diff) | |
download | nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.gz nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.bz2 nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.lz nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.xz nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.tar.zst nixpkgs-35d68ef143412f579544eaac7aaa87e29f84b15e.zip |
treewide: remove redundant quotes
Diffstat (limited to 'nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix')
-rw-r--r-- | nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix b/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix index 910e1d937bf..6e5e5470c17 100644 --- a/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix +++ b/nixos/modules/services/web-apps/icingaweb2/icingaweb2.nix @@ -163,7 +163,7 @@ in { config = mkIf cfg.enable { services.phpfpm.poolConfigs = mkIf (cfg.pool == "${poolName}") { - "${poolName}" = '' + ${poolName} = '' listen = "${phpfpmSocketName}" listen.owner = nginx listen.group = nginx @@ -188,7 +188,7 @@ in { services.nginx = { enable = true; virtualHosts = mkIf (cfg.virtualHost != null) { - "${cfg.virtualHost}" = { + ${cfg.virtualHost} = { root = "${pkgs.icingaweb2}/public"; extraConfig = '' @@ -215,7 +215,7 @@ in { # /etc/icingaweb2 environment.etc = let - doModule = name: optionalAttrs (cfg.modules."${name}".enable) { "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) |