zaphyra's git: nixfiles

zaphyra and void's nixfiles

commit 41fccd7b3062acb3a62dfa0d2e4e7209e6b86514
parent 6c3504d66899ee499532852c67e0af64a3be9ae5
Author: Katja (zaphyra) <git@ctu.cx>
Date: Sun, 25 May 2025 18:38:41 +0200

config/nixos/modules/websites/gts.zaphyra.eu: add `restartTrigger` for sops secret
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/config/nixos/modules/websites/gts.zaphyra.eu.nix b/config/nixos/modules/websites/gts.zaphyra.eu.nix
@@ -43,7 +43,9 @@ in
 
     sops.secrets = {
       "resticPasswords/gotosocial" = { };
-      gotosocialEnv = { };
+      gotosocialEnv = {
+        restartUnits = [ "gotosocial.service" ];
+      };
     };
 
     systemd.tmpfiles.settings.stagit = {