Privatebin: Backup data.

This commit is contained in:
Dmitry Voronin 2024-12-20 06:32:56 +03:00
parent dc099cf567
commit 2db909a0e3
3 changed files with 16 additions and 14 deletions

View file

@ -20,6 +20,7 @@ let
(mkBind "ovpn" "/var/lib/ovpn") (mkBind "ovpn" "/var/lib/ovpn")
(mkBind "paperless" "/var/lib/paperless") (mkBind "paperless" "/var/lib/paperless")
(mkBind "postgres" "/var/lib/postgresql") (mkBind "postgres" "/var/lib/postgresql")
(mkBind "privatebin" "/var/lib/privatebin")
(mkBind "rabbitmq" "/var/lib/rabbitmq") (mkBind "rabbitmq" "/var/lib/rabbitmq")
(mkBind "sieve" "/var/sieve") (mkBind "sieve" "/var/sieve")
(mkBind "terraria" "/var/lib/terraria") (mkBind "terraria" "/var/lib/terraria")

View file

@ -147,12 +147,12 @@ in
}; };
timers.autoexpunge = { timers.autoexpunge = {
wantedBy = [ "timers.target" ];
timerConfig = { timerConfig = {
OnCalendar = "daily"; OnCalendar = "daily";
Persistent = true; Persistent = true;
Unit = "autoexpunge.service"; Unit = "autoexpunge.service";
}; };
wantedBy = [ "timers.target" ];
}; };
}; };
} }

View file

@ -1,4 +1,5 @@
{ ... }: { { ... }:
{
"paste.voronind.com" = { "paste.voronind.com" = {
extraConfig = '' extraConfig = ''
listen 443 ssl; listen 443 ssl;