nixos/web-apps/dolibarr: lib.optionalAttr -> lib.optionalAttrs typo

This commit is contained in:
Raito Bezarius 2023-03-04 11:31:28 +01:00
parent e961b3bf8d
commit 51b00a5e89

View File

@ -5,7 +5,7 @@ let
package = pkgs.dolibarr.override { inherit (cfg) stateDir; };
cfg = config.services.dolibarr;
vhostCfg = lib.optionalAttr (cfg.nginx != null) config.services.nginx.virtualHosts."${cfg.domain}";
vhostCfg = lib.optionalAttrs (cfg.nginx != null) config.services.nginx.virtualHosts."${cfg.domain}";
mkConfigFile = filename: settings:
let