diff options
author | Azat Bahawi <azat@bahawi.net> | 2023-11-12 17:50:43 +0300 |
---|---|---|
committer | Azat Bahawi <azat@bahawi.net> | 2023-11-12 17:50:43 +0300 |
commit | 011c1632f3762e1bc1ecfdee9d9f3b3f44be74e5 (patch) | |
tree | e9d7d5955f25f82cdb671f1c44da663d2d839485 /nixosConfigurations/manwe | |
parent | 2023-11-09 (diff) |
2023-11-12
Diffstat (limited to 'nixosConfigurations/manwe')
-rw-r--r-- | nixosConfigurations/manwe/webserver.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/nixosConfigurations/manwe/webserver.nix b/nixosConfigurations/manwe/webserver.nix index 5ea2418..324036a 100644 --- a/nixosConfigurations/manwe/webserver.nix +++ b/nixosConfigurations/manwe/webserver.nix @@ -1,4 +1,6 @@ { + libNginx, + libPlausible, inputs, lib, ... @@ -79,7 +81,9 @@ with lib; { serverAliases = ["frodo.${gondor}" "frodo.${rohan}"]; locations."/" = { root = inputs.azahi-cc; - extraConfig = nginxAppendHead [(htmlPlausibleScript {domain = azahi;})]; + extraConfig = libNginx.config.appendHead [ + (libPlausible.htmlPlausibleScript {domain = azahi;}) + ]; }; }; } |