Something went wrong. Try again.
personal homelab and IaC setup www.frytg.digital
Something went wrong. Try again.
Files
Verified signature Signed by frytg.digital SHA256:g4e4LyMUsNvVcLxN53oxTb+IZ9E6oafEw33pWJrtkfQ Click to copy SHA
Verified signature Signed by frytg.digital SHA256:g4e4LyMUsNvVcLxN53oxTb+IZ9E6oafEw33pWJrtkfQ Click to copy SHA
Verified signature Signed by frytg.digital SHA256:g4e4LyMUsNvVcLxN53oxTb+IZ9E6oafEw33pWJrtkfQ Click to copy SHA
- HCL 80%
- Nix 20%
README.md
locally setups #
Hosts #
locally0— GMKTec G3 (N150, 16 GB, 1 TB NVMe). Primary homelab: full observability + app stack (MQTT, Grafana, Loki, Prometheus, Victoria Metrics/Logs, Dashy, Uptime Kuma, Home Assistant, Miniflux, Postgresus, Vector, OCI registry, etc.). Port list inlocally0/README.md.leno0— Lenovo ThinkCentre M715q (Ryzen 5 PRO 2400GE, 32 GB, 128 GB). Sidecar workload box: Perses, n8n.
Each host dir mirrors the same layout: nixos/ (config synced via just nix-download / nix-upload), services/ (k8s manifests), k3s-cert.{sops.,}yaml (cluster join secret), k3s/, plus a local README.md with the port map.
Layout #
locally0/,leno0/— per-host NixOS + k3s manifests, keyed by hostname.common/— cluster-shared manifests (services/,tailscale/).infra/— Terraform for cloud resources (Scaleway, GCP, Bunny, DNS, storage buckets, IAM). State ininfra/state/.just/— splitjustrecipes per concern (nixos,k3s,kubernetes,services,backup,mqtt,encryption,common). Rootjustfileimports them;just --listshows the merged view.K8UP.md— k8up backup operator install + restic restore..env.<host>.sops.yaml— per-host sops-encrypted env (age + PGP keys in.sops.yaml).
Kubernetes #
K3s stores its data in /var/lib/rancher/k3s.
You can download the remote state with just cp-k3s-storage.