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
Benjamin Yule Bädorf
316ba9ef53
forgejo: also reroute ssh traffic for ipv6
2024-04-12 19:38:15 +00:00
teutat3s
c5159dd66d
forgejo: enable repo search (indexer), save login
...
cookie for 365 days instead of default 7 days.
Caveat for the repo indexer is that repository size on disk will grow
by factor of 6. Forgejo repositories currently use 4.7GB on disk, with
3.3GB being a nixpkgs fork.
2024-04-05 23:29:49 +02:00
Benjamin Yule Bädorf
16c6aa3b61
forgejo: make SSH keys declarative
2024-04-05 19:35:55 +00:00
Hendrik Sokolowski
b6b8d69852
nachtigall: forgejo: update firewall settings
2024-04-05 18:39:43 +02:00
Benjamin Yule Bädorf
e618b9f9c2
forgejo: use iptables routing instead of ssh patch
2024-04-05 17:00:28 +02:00
Benjamin Yule Bädorf
d7c9333ff4
forgejo: allow multiple host addresses for SSH
2024-04-05 14:26:56 +00:00
teutat3s
842ec945f4
forgejo: appName option has been renamed
...
trace: warning: The option `services.forgejo.appName' defined in
`/nix/store/z68x68rbw9sg4d7mcjrjd6aq598rmrwf-source/hosts/nachtigall/apps/forgejo.nix'
has been renamed to `services.forgejo.settings.DEFAULT.APP_NAME'.
2024-02-07 19:02:04 +01:00
teutat3s
f43ba01ee6
feat: use forgejo NixOS module with gitea user
...
https://nixos.org/manual/nixos/stable/#module-forgejo-migration-gitea
2024-02-06 12:19:45 +01:00
teutat3s
815033c764
treewide: apply nixpkgs-fmt
...
Used command:
nixpkgs-fmt .
2024-01-27 20:29:30 +01:00
teutat3s
6bfeb835c2
fix: type INI atom (null, bool, int, float or string)
...
option `services.gitea.settings.webhook.ALLOWED_HOST_LIST' is not of
type `INI atom (null, bool, int, float or string)'
2023-12-08 17:37:28 +01:00
Benjamin Bädorf
97a592a53e
forgejo: allow webhooks to all pub.solar subdomains
...
This should fix the following error that was occuring while trying to post
notices to matrix channels:
```
Delivery: Put "https://matrix.pub.solar/_matrix/client/r0/rooms/[...] ": dial tcp [::1]:443: webhook can only call allowed HTTP servers (check your webhook.ALLOWED_HOST_LIST setting), deny 'matrix.pub.solar([::1]:443)'
```
2023-12-08 17:12:02 +01:00
teutat3s
caaab0e14d
fix: new Greenbaum mail server is mail.greenbaum.zone
2023-12-05 20:57:26 +01: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
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
teutat3s
428fcab009
fix: store forgejo sessions in DB
...
See:
https://docs.gitea.com/administration/config-cheat-sheet#session-session
2023-11-06 22:34:51 +01: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
teutat3s
6a96345760
feat: enable gitea actions in forgejo
...
See: https://docs.gitea.com/usage/actions/quickstart
2023-11-06 22:06:16 +01:00
Benjamin Bädorf
633549159e
fix: keep forgejo email addresses private by default
2023-11-05 15:06:30 +01:00
teutat3s
505602bd73
fix: set max body size to 1G for forgejo
2023-10-29 23:04:33 +01:00
teutat3s
e859cbbc10
fix: reduce forgejo logs to warning level
2023-10-29 12:38:12 +00:00
teutat3s
e9ef6be915
fix: use 127.0.0.1 IPv4 instead of localhost to avoid errors
...
with localhost resolving to IPv6
2023-10-29 12:30:36 +01:00
Benjamin Bädorf
b311b513d0
fix: gitea secrets
2023-10-28 23:55:39 +02:00
Benjamin Bädorf
cda39f5e2a
feat: add forgejo
2023-10-28 23:36:04 +02:00