about summary refs log tree commit diff
path: root/modules/services
diff options
context:
space:
mode:
Diffstat (limited to 'modules/services')
-rw-r--r--modules/services/akkoma/default.nix3
-rw-r--r--modules/services/fail2ban.nix3
-rw-r--r--modules/services/jitsi.nix5
-rw-r--r--modules/services/misskey/default.nix1
-rw-r--r--modules/services/nixos-mailserver.nix1
5 files changed, 13 insertions, 0 deletions
diff --git a/modules/services/akkoma/default.nix b/modules/services/akkoma/default.nix
index c0925cf..b070d73 100644
--- a/modules/services/akkoma/default.nix
+++ b/modules/services/akkoma/default.nix
@@ -95,5 +95,8 @@ in
           '';
         };
       };
+      environment.persistence."/persist".directories = [
+        "/var/lib/akkoma"
+      ];
     };
   }
diff --git a/modules/services/fail2ban.nix b/modules/services/fail2ban.nix
index 99351b1..7d3c4bf 100644
--- a/modules/services/fail2ban.nix
+++ b/modules/services/fail2ban.nix
@@ -13,5 +13,8 @@ in
     services.fail2ban = {
       enable = true;
     };
+    environment.persistence."/persist".directories = [
+      "/var/lib/fail2ban"
+    ];
   };
 }
diff --git a/modules/services/jitsi.nix b/modules/services/jitsi.nix
index ab02bb4..d1ed5cc 100644
--- a/modules/services/jitsi.nix
+++ b/modules/services/jitsi.nix
@@ -34,5 +34,10 @@ in
     };
 
     networking.firewall.allowedTCPPorts = [ 80 443 ];
+
+    environment.persistence."/persist".directories = [
+      "/var/lib/prosody"
+      "/var/lib/jitsi-meet"
+    ];
   };
 }
diff --git a/modules/services/misskey/default.nix b/modules/services/misskey/default.nix
index 355e91f..f411736 100644
--- a/modules/services/misskey/default.nix
+++ b/modules/services/misskey/default.nix
@@ -48,6 +48,7 @@ in
     environment.persistence."/persist".directories = [
       "/var/lib/containers"
       "/var/lib/misskey-files"
+      "/var/lib/redis-misskey"
     ];
 
     systemd.tmpfiles.rules = [
diff --git a/modules/services/nixos-mailserver.nix b/modules/services/nixos-mailserver.nix
index ed8792d..7a8c5a5 100644
--- a/modules/services/nixos-mailserver.nix
+++ b/modules/services/nixos-mailserver.nix
@@ -106,6 +106,7 @@ in
       "/var/vmail"
       "/var/dkim"
       "/var/sieve"
+      "/var/spool/mail"
     ];
 
     networking.firewall.allowedTCPPorts = [ 143 993 465 587 ];