about summary refs log tree commit diff
path: root/nixosConfigurations
diff options
context:
space:
mode:
authorAzat Bahawi <azat@bahawi.net>2023-11-12 17:50:43 +0300
committerAzat Bahawi <azat@bahawi.net>2023-11-12 17:50:43 +0300
commit011c1632f3762e1bc1ecfdee9d9f3b3f44be74e5 (patch)
treee9d7d5955f25f82cdb671f1c44da663d2d839485 /nixosConfigurations
parent2023-11-09 (diff)
2023-11-12
Diffstat (limited to '')
-rw-r--r--nixosConfigurations/manwe/webserver.nix6
-rw-r--r--nixosConfigurations/yavanna/default.nix5
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;

Consider giving Nix/NixOS a try! <3