Commit Graph

16 Commits

Author SHA1 Message Date
Aner Zakobar 09052e8aec Better montiring, bug fixes. 2026-05-10 13:44:27 +03:00
Aner Zakobar af744e819c Monitoring primarily 2026-05-10 11:30:43 +03:00
Aner Zakobar d6aa39ff04 Added shell command for deploy, updated readme, backup script. 2026-04-29 20:23:42 +03:00
Aner Zakobar 0b73d493d8 Working NixOS port: all core services operational
- Fix Caddy cfProxy helper for cloudflared http:// vhosts (X-Forwarded-Proto)
- Fix Authelia LDAP bind (readonly user ACL + password sync)
- Add gitea-admin-setup oneshot service to survive rebuilds
- Update Authelia forward_auth with header_up X-Forwarded-Proto https
- Update TODO.org with completed tasks and LDAP config details
- Remove old Helm/k8s artifacts (Chart.yaml, templates/, values/, scripts)
- Add result to .gitignore

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-23 14:46:21 +03:00
Aner Zakobar 2f0d0b5e4c Port to NixOS: replace Helm chart with flake-based NixOS config
Replaces the Helm/k3s setup with a declarative NixOS configuration targeting
a Raspberry Pi 4. Services run as podman containers under systemd, with data
on an external HD at /mnt/data. Key components:

- flake.nix: multi-host flake with pi-main (aarch64) and a placeholder for a
  second machine
- modules/common.nix: shared system config (nix, podman, sops, SSH)
- modules/storage.nix: external HD mount with per-service subdirs
- modules/caddy.nix: Caddy with cloudflare DNS-01 ACME + authelia forward_auth
- modules/cloudflared.nix: Cloudflare tunnel for remote access
- modules/backup.nix: restic daily backups with NC maintenance mode pre-hook
- modules/services/{openldap,authelia,gitea,nextcloud,phpldapadmin}.nix: core services
- modules/services/{jellyfin,transmission}.nix: media services (disabled by default)
- secrets/: sops-nix scaffold with .sops.yaml age key config
- hosts/pi-main/: hardware config + service selection for the Pi
- PORTING.md: step-by-step migration guide (SD card → data restore → verify)
2026-04-15 17:18:12 +03:00
Aner Zakobar 138d6d8a6b Current snapshot of state with unused garbage. 2025-03-26 12:27:47 +02:00
Aner Zakobar 5264bdbf4f Temp and works? 2024-06-03 01:15:22 +03:00
Aner Zakobar 0464092af1 Did things 2023-09-28 23:12:07 +03:00
Aner Zakobar 4f9d3fba78 Right before big longhorn diff 2023-03-13 14:02:36 +02:00
Aner Zakobar 51336c3213 Wow I am making way too many changes for my own good 2023-02-25 22:58:21 +02:00
Aner Zakobar eac370530e Stable before split 2023-02-12 15:40:54 +02:00
Aner Zakobar a727f0e4d3 Big changes 2022-04-08 17:19:32 +03:00
Aner Zakobar cb600f8368 Everything changes lots works! 2021-10-06 00:51:11 +03:00
Aner Zakobar cf778e2960 tmp 2021-09-15 15:40:57 +03:00
Aner Zakobar 7f3f081fe6 Fixed stuff, changed storage. Need to find backup solution. 2021-09-13 11:15:20 +03:00
Aner Zakobar 2e4bbdce89 Initial commit. 2021-08-17 12:07:44 +03:00