diff options
Diffstat (limited to 'nixosConfigurations')
-rw-r--r-- | nixosConfigurations/manwe/webserver.nix | 6 | ||||
-rw-r--r-- | nixosConfigurations/yavanna/default.nix | 5 |
2 files changed, 5 insertions, 6 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;}) + ]; }; }; } diff --git a/nixosConfigurations/yavanna/default.nix b/nixosConfigurations/yavanna/default.nix index 4aacb9d..6f0d848 100644 --- a/nixosConfigurations/yavanna/default.nix +++ b/nixosConfigurations/yavanna/default.nix @@ -31,11 +31,6 @@ with lib; { listenAddress = this.wireguard.ipv4.address; environment.CONFIG = "/var/lib/lidarr/.config/Lidarr/config.xml"; }; - systemd.services.prometheus-exportarr-lidarr-exporter.serviceConfig = { - ProcSubset = "pid"; - ProtectProc = "invisible"; - SystemCallFilter = ["@system-service" "~@privileged"]; - }; boot.loader.grub = { enable = true; |