diff options
author | sefidel <contact@sefidel.net> | 2023-08-01 21:24:10 +0900 |
---|---|---|
committer | sefidel <contact@sefidel.net> | 2023-08-01 21:24:10 +0900 |
commit | 58a9d391431de5fc96d8c989bc1e99e98d7c93b4 (patch) | |
tree | 2b626b959c79e3375497561b1e710461b18af60c /modules | |
parent | e07d44bba098c68185a732590f527d17b660ffa7 (diff) | |
download | infra-58a9d391431de5fc96d8c989bc1e99e98d7c93b4.tar.gz infra-58a9d391431de5fc96d8c989bc1e99e98d7c93b4.zip |
feat(systems/cobalt): re-enable auto root rollback
Diffstat (limited to 'modules')
-rw-r--r-- | modules/services/akkoma/default.nix | 3 | ||||
-rw-r--r-- | modules/services/fail2ban.nix | 3 | ||||
-rw-r--r-- | modules/services/jitsi.nix | 5 | ||||
-rw-r--r-- | modules/services/misskey/default.nix | 1 | ||||
-rw-r--r-- | modules/services/nixos-mailserver.nix | 1 |
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 ]; |