Benjamin Yule Bädorf
ef94681e11
refactor: Move all apps into modules
2024-04-28 18:07:28 +02:00
Hendrik Sokolowski
a9411d05a8
set pruneOpts for restic backups to daily 7, weekly 4, monthly 3
2024-04-22 20:06:49 +02:00
teutat3s
41e4d3427c
mastodon: clean media older than 7 days
...
Currently we keep everything for 30 days, which is about 180GB
2024-04-05 23:50:04 +02:00
teutat3s
caaab0e14d
fix: new Greenbaum mail server is mail.greenbaum.zone
2023-12-05 20:57:26 +01:00
teutat3s
8bc731da6e
Merge pull request 'feat: backups to hetzner storagebox' ( #66 ) from feat/backups-to-storagebox into main
...
Reviewed-on: pub-solar/infra#66
Reviewed-by: b12f <b12f@noreply.git.pub.solar>
2023-11-18 22:13:17 +00:00
teutat3s
a461fc72f6
feat(backups): start backups in 5 minute interval
2023-11-18 22:41:48 +01:00
teutat3s
2195b7ed0a
feat: backups to hetzner storagebox
2023-11-18 22:30:23 +01:00
teutat3s
37176a52ce
feat: mastodon module updates from nixos-unstable
...
Pull in changes from https://github.com/NixOS/nixpkgs/pull/251950 early
2023-11-18 18:46:23 +01:00
Benjamin Bädorf
d69e0350ef
fix: use clean new directory for backups on droppie
2023-11-06 22:59:17 +00:00
Benjamin Bädorf
07df547f33
fix: specify sftp storage for droppie restic backups
2023-11-06 22:59:17 +00:00
Benjamin Bädorf
c8233cf6a7
chore: simplify sudo command for backups
2023-11-06 22:22:36 +01:00
Benjamin Bädorf
841757517f
refactor: small backup refactoring
2023-11-06 21:07:24 +00:00
Benjamin Bädorf
42fbde31e5
feat: droppie backups for all nachtigall services
2023-11-06 21:07:24 +00:00
Benjamin Bädorf
b7d0e23703
refactor: add nginx to mastodon group in mastodon module
2023-10-29 12:38:12 +00:00
teutat3s
1983edcc5b
fix: add nginx virtualHost for mastodon
...
We use pub.solar as our LOCAL_DOMAIN and mastodon.pub.solar as our
WEB_DOMAIN. The NixOS module does not support this special use case.
See: https://github.com/NixOS/nixpkgs/issues/202399
2023-10-28 18:56:22 +02:00
teutat3s
c162d46094
fix: address review comments
2023-10-28 18:18:06 +02:00
teutat3s
1e19efe20e
docs: add comment about streaming processes
2023-10-28 18:07:29 +02:00
teutat3s
0944b2d11c
feat: enable nginx for mastodon
...
https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/web-apps/mastodon.nix#L762-L785
2023-10-28 17:02:03 +02:00
teutat3s
e43cb021ce
feat: use mastodon version 4.2.1 from our fork
...
This still needs updates in the NixOS module to account for the changes
in https://github.com/mastodon/mastodon/pull/24655 that change how
multiple streaming processes run. Hopefully this is fine for a single
streaming process though.
https://github.com/NixOS/nixpkgs/pull/251950
https://github.com/teutat3s/nixpkgs/tree/mastodon-4.2.1
2023-10-28 16:57:24 +02:00
teutat3s
2135a5e841
chore: move mastodon + postgres into apps directory
2023-10-28 16:57:23 +02:00