pub.solar infrastructure, mostly in nix and terraform
Find a file
teutat3s a08003f125
backups: only run restic prune on the last backup
After this change, only obs-portal backup will prune the repository of
old snapshots. This is the last backup service to run at 06:00 AM UTC.

This should avoid our nightly backups failing because of the exclusive
lock on the restic repo. We currently start the next backup while the
previous one is still pruning, which makes the newly started one fail
with:

repo already locked, waiting up to 0s for the lock
unable to create lock in backend: repository is already locked by PID 228…
2025-04-02 13:17:22 +02:00
.forgejo/workflows ci: use nix-fast-build to build checks 2025-02-06 15:20:24 -03:00
docs Merge pull request 'docs: update deletion request docs' () from update-deletion-request-docs into main 2025-03-13 16:50:56 +00:00
hosts nachtigall: add additional boot mirrors 2025-03-11 11:39:46 +01:00
lib docs: add metronom to deploy docs, style: format 2024-05-31 16:52:03 +02:00
logins admins: add host biolimo for @b12f 2024-12-27 00:25:09 +01:00
modules backups: only run restic prune on the last backup 2025-04-02 13:17:22 +02:00
overlays matrix-synapse: pull in 1.127.1 early (security) 2025-03-28 13:48:24 +01:00
secrets mail: update admins@pub.solar password because forgejo 2025-03-04 19:41:04 +01:00
terraform dns: list.pub.solar should be A / AAAA records 2024-10-30 18:37:46 +01:00
tests tests/keycloak: need to start acme-server 2025-03-25 18:39:26 +01:00
.editorconfig secrets: ensure no final newline 2024-08-21 16:39:14 +02:00
.envrc Add dev shell 2023-10-28 12:38:14 +02:00
.git-blame-ignore-revs style: update git-blame-ignore-revs 2024-05-08 23:14:34 +02:00
.gitignore chore: add results to gitignore 2024-05-06 19:39:30 +02:00
CONTRIBUTING.md docs: add CONTRIBUTING 2024-05-08 22:29:11 +02:00
flake.lock flake.lock: Update 2025-03-24 11:17:20 +01:00
flake.nix overlays: remove unused inputs + rec, 2025-02-07 11:03:39 -03:00
LICENSE.md Add AGPL LICENSE 2024-05-08 22:28:45 +02:00
README.md docs: add CONTRIBUTING 2024-05-08 22:29:11 +02:00
treefmt.toml style: check formatting using nixpkgs standard and 2024-05-08 22:56:28 +02:00

The pub.solar infrastructure

This repository contains almost all of the configuration for the whole pub.solar infrastructure. Our goal is to have everything, from host configurations to Terraform DNS in this repository.

The architecture we are working towards is a vast simplification of what it was before: one dedicated Hetzner server running NixOS with all services. Offsite backups go to several different locations with restic.

Contributing

If you'd like to contribute, it makes sense to talk to the crew on Matrix via #hakken. We can help figuring out how things work and can make sure your ideas fit the pub.solar philosophy. Of course popping a pull request is always celebrated.

To start, check our contributing guide.