{"id":49449002,"url":"https://github.com/sebastiaankok/home-ops","last_synced_at":"2026-04-30T00:15:15.425Z","repository":{"id":224427154,"uuid":"763213513","full_name":"sebastiaankok/home-ops","owner":"sebastiaankok","description":"My GitOps-driven homelab repo built on NixOS + k3s, deployed with ArgoCD","archived":false,"fork":false,"pushed_at":"2026-04-26T09:39:36.000Z","size":903,"stargazers_count":1,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-04-26T11:20:41.081Z","etag":null,"topics":["argocd","gitops","home-ops","k3s","k8s-at-home","kubernetes","kubesearch","neovim","nixos","nixvim","sops"],"latest_commit_sha":null,"homepage":"","language":"Nix","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sebastiaankok.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":"AGENTS.md","dco":null,"cla":null}},"created_at":"2024-02-25T20:52:17.000Z","updated_at":"2026-04-26T09:39:39.000Z","dependencies_parsed_at":"2025-07-14T15:14:24.280Z","dependency_job_id":"8d427bdb-851d-4c12-8d9d-578a844961e0","html_url":"https://github.com/sebastiaankok/home-ops","commit_stats":null,"previous_names":["sebastiaankok/k8s-homelab"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sebastiaankok/home-ops","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiaankok%2Fhome-ops","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiaankok%2Fhome-ops/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiaankok%2Fhome-ops/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiaankok%2Fhome-ops/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sebastiaankok","download_url":"https://codeload.github.com/sebastiaankok/home-ops/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sebastiaankok%2Fhome-ops/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32449030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-29T22:27:22.272Z","status":"ssl_error","status_checked_at":"2026-04-29T22:10:49.234Z","response_time":110,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["argocd","gitops","home-ops","k3s","k8s-at-home","kubernetes","kubesearch","neovim","nixos","nixvim","sops"],"created_at":"2026-04-30T00:15:14.875Z","updated_at":"2026-04-30T00:15:15.420Z","avatar_url":"https://github.com/sebastiaankok.png","language":"Nix","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n\u003cimg src=\"https://raw.githubusercontent.com/kubernetes/kubernetes/master/logo/logo.png\" align=\"center\" width=\"144px\" height=\"144px\"/\u003e\n\n### My Home Ops Repository\n\n_... managed with ArgoCD, NixOS, and k3s_ \u003cimg src=\"https://fonts.gstatic.com/s/e/notoemoji/latest/1f916/512.gif\" alt=\"🤖\" width=\"16\" height=\"16\"\u003e\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\n[![ArgoCD](https://img.shields.io/badge/GitOps-ArgoCD-blue?logo=argo\u0026logoColor=white\u0026style=for-the-badge)](https://argo-cd.readthedocs.io)\u0026nbsp;\u0026nbsp;\n[![Kubernetes](https://img.shields.io/badge/Kubernetes-k3s-blue?logo=kubernetes\u0026logoColor=white\u0026style=for-the-badge)](https://k3s.io)\u0026nbsp;\u0026nbsp;\n[![NixOS](https://img.shields.io/badge/OS-NixOS-blue?logo=nixos\u0026logoColor=white\u0026style=for-the-badge)](https://nixos.org)\u0026nbsp;\u0026nbsp;\n\n\u003c/div\u003e\n\n---\n\n## 💡 Overview\n\nThis repository contains my **GitOps-driven homelab** powered by:\n\n- **NixOS (flake-based)** for declarative host management\n- **k3s** as the lightweight Kubernetes distribution\n- **ArgoCD** for continuous reconciliation of Kubernetes manifests\n- **Renovate** to keep applications / helm charts up-to-date\n\n### ✅ Conventions \u0026 Notes\n- Keep cluster-level bootstrap manifests (ArgoCD installation, Secrets, Cilium installation) at [nixos-microvm](https://github.com/sebastiaankok/home-ops/tree/main/modules/virtual/k3s-home).\n- ArgoCD controller (apps-of-apps pattern) deploys chart and includes required values\n- Secret management via `sops-nix`\n- MicroVM support for lightweight VMs directly in Nix\n- Nixvim-powered Neovim with LSP, treesitter, telescope, and more\n\nWith this setup, both my **infrastructure** and my **developer experience** live in a **single, version-controlled repo**.\n\n---\n\n## 🐧 NixOS\n\nBeyond Kubernetes, this repo also manages my **NixOS machines** with flakes, ensuring everything is reproducible:\n\n- **Server (i5-13600)** → runs k3s from a microVM and uses ArgoCD to deploy applications\n- **Laptop (i5-7300U)** → development machine with workstation profile (Home Manager + Nixvim)\n- **Raspberry Pi 4 (ser2net)** → low power device for exposing USB devices on the network\n\n### 📂 Repo structure (NixOS side)\n\n- **`flake.nix`** → defines hosts, inputs and modules\n- **`flake.lock`** → pins inputs for reproducible builds\n- **`hosts/`** → machine-specific configs (`b660-i5-13600/`, `dell-i5-7300U/`, `rpi4-ser2net/`)\n- **`modules/`** → reusable service/system/microvm modules (e.g. `k3s-home/`, `prometheus/`)\n- **`profiles/`** → role-based configs (e.g. `workstation.nix`)\n\n---\n## Bootstrap\n\n```\n## Install Cilium\nhelm install cilium cilium/cilium --version 1.18.6 -f k8s/k3s-home/argocd/system/cilium/values.yaml --namespace kube-system\n## Install ArgoCD\nhelm install argocd oci://ghcr.io/argoproj/argo-helm/argo-cd --version 9.3.5 -f k8s/k3s-home/argocd/system/argocd/values.yaml --namespace argocd --create-namespace\nkubectl apply -f k8s/k3s-home/argocd/system/argocd/controller.yaml\n```\n## ⚡ Adding new device\n\n### Install nix-darwin (macbook)\nCheck [README.md](https://github.com/nix-darwin/nix-darwin?tab=readme-ov-file#prerequisites) on nix-darwin repo.\n```bash\ncurl -fsSL https://install.determinate.systems/nix | sh -s -- install --prefer-upstream-nix\n```\n\n### Clone this repo\n```bash\ngit clone https://github.com/sebastiaankok/home-ops.git\n```\n### Update flake.nix with new hardware\n\n- Check your hostname and add this to the flake.nix file.\n- Add your hardware specific config in it's own file, for example: `hosts/macbook-m5/default.nix`\n\n### Rebuild from GitHub or local\nBuild and switch a host directly from this repo:\n\n```bash\n## Nixos from git directly\nsudo nixos-rebuild switch --flake github:sebastiaankok/home-ops#HOSTNAME\n## Darwin from local dir\nsudo darwin-rebuild switch --flake.\n```\n\n### Manually updating flake lock files\n```bash\nnix flake update\n## Or specific repo\nnix flake update unstable\n```\n\n---\n\n## \u003cimg src=\"https://fonts.gstatic.com/s/e/notoemoji/latest/1f331/512.gif\" alt=\"📜\" width=\"20\" height=\"20\"\u003e GitOps Layout\n\n```sh\n📁 k8s\n└── 📁 k3s-home\n    └── 📁 argocd\n        ├── 📁 databases\n        │   └── 📁 cnpg-operator\n        │       └── application.yaml\n        ├── 📁 home-automation\n        │   ├── 📁 home-assistant\n        │   ├── 📁 kamstrup-mqtt\n        │   ├── 📁 mosquitto\n        │   └── 📁 zigbee2mqtt\n        ├── 📁 media\n        │   ├── 📁 immich\n        │   └── 📁 jellyfin\n        ├── 📁 monitoring\n        ├── 📁 network\n        │   └── 📁 wol-proxy\n        ├── 📁 nvr\n        │   └── 📁 frigate\n        └── 📁 system\n            ├── 📁 cert-manager\n            ├── 📁 ingress-nginx\n            ├── 📁 ingress-nginx-media\n            └── 📁 velero\n```\n\n---\n\n## 📦 Backups\n\nThis homelab uses **Restic** to backup data directories.\n\n### Restic (object storage)\n\n```bash\nexport RESTIC_REPOSITORY=\"s3:s3.eu-central-003.backblazeb2.com/nix-restic/backups/data\"\nexport $(sops -d modules/secrets.sops.yaml | yq .b2s3-config)\nexport \"RESTIC_PASSWORD=$(sops -d modules/secrets.sops.yaml | yq .restic-repo-password)\"\n\nrestic ls latests\n```\n\n---\n\n## 🙏 Acknowledgements\n\nThis setup takes inspiration from the **HomeOps community** and builds on great projects like:\n- [bjw-s-labs/helm-charts](https://github.com/bjw-s-labs/helm-charts)\n- [nix-community/nixvim](https://github.com/nix-community/nixvim)\n- [whazor/k8s-at-home-search](https://github.com/whazor/k8s-at-home-search)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastiaankok%2Fhome-ops","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsebastiaankok%2Fhome-ops","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsebastiaankok%2Fhome-ops/lists"}