From 17c18e8806e18147fc73ad602b253f03bfdbfa84 Mon Sep 17 00:00:00 2001 From: Adam0 Date: Mon, 15 Jun 2026 00:06:06 +0200 Subject: [PATCH] bring back gotify authentik plugin --- modules/services/gotify.nix | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/modules/services/gotify.nix b/modules/services/gotify.nix index 803710e..2163f7d 100644 --- a/modules/services/gotify.nix +++ b/modules/services/gotify.nix @@ -10,6 +10,13 @@ }: let inherit (lib) mkForce; + inherit (pkgs.nur.repos.adam0) gotifyPlugins; + + gotifyPluginsDrv = pkgs.symlinkJoin { + name = "gotify-plugins"; + paths = [gotifyPlugins.authentik]; + }; + templates = config.sops.templates; inherit (vars) groundDomain; in { @@ -61,6 +68,7 @@ "authentik.service" "postgresql.service" "sops-install-secrets.service" + "systemd-tmpfiles-setup.service" "traefik.service" # keep-sorted end ]; @@ -71,6 +79,7 @@ "authentik.service" "postgresql.service" "sops-install-secrets.service" + "systemd-tmpfiles-setup.service" "traefik.service" # keep-sorted end ]; @@ -88,6 +97,8 @@ }; }; + systemd.tmpfiles.rules = ["L+ /var/lib/gotify/data/plugins - - - - ${gotifyPluginsDrv}"]; + systemd.services.gotify-optimize-images = { description = "Optimize Gotify uploaded images"; -- 2.51.2