No description
  • Nix 93.9%
  • Shell 6.1%
Find a file
2026-08-15 14:20:20 +05:30
assets Introduced Sops-NIX (#7) 2026-06-06 19:27:18 +05:30
home feat: use standalone nixvim-config flake from forgejo 2026-08-15 12:17:13 +05:30
hosts feat: vaultwarden pin, backups, deploy-rs, remove open-webui 2026-08-15 11:27:00 +05:30
modules chore: remove stale modules/neovim/ (now sourced from nixvim-config flake) 2026-08-15 12:17:44 +05:30
pkgs/install-infra Introduced Sops-NIX (#7) 2026-06-06 19:27:18 +05:30
scripts Fixing rclone structure and reworked sops config 2026-06-27 20:05:13 +05:30
secrets feat: vaultwarden pin, backups, deploy-rs, remove open-webui 2026-08-15 11:27:00 +05:30
users/abhay updated nixvim, esp things 2026-08-08 10:38:48 +05:30
.sops.yaml Fixing rclone structure and reworked sops config 2026-06-27 20:05:13 +05:30
flake.lock chore: update nixvim-config lock (LSP upgrades) 2026-08-15 14:20:20 +05:30
flake.nix feat: use standalone nixvim-config flake from forgejo 2026-08-15 12:17:13 +05:30
README.md docs: add README 2026-08-15 12:24:45 +05:30

infra

Personal NixOS infrastructure.

Hosts

Host Role Location
daredevil ThinkPad X1 Carbon Daily driver
devil Gaming PC Home
old-devil Home server Home (UPS-backed)
homelab-one VPS Hetzner Falkenstein

Structure

flake.nix          # Inputs, outputs, deploy-rs config
hosts/             # Per-host NixOS configs
modules/           # Shared NixOS modules
  services/        # Container services (vaultwarden, forgejo, immich, etc.)
  desktop/         # Desktop-specific (nixvim, etc.)
  storage/         # Rclone mounts, backups
home/              # Home-manager configs (shared + per-host)
secrets/           # Sops-encrypted secrets

Deploy

# Local rebuild
sudo nixos-rebuild switch --flake ~/Projects/infra#<hostname>

# Remote deploy with rollback
deploy .#<hostname>
deploy .#                # all hosts

Storage

  • Hetzner StorageBox (1TB): primary backing store via rclone crypt
    • media:, immich:, private:, backups: — all encrypted
    • Mounted at /mnt/homelab/ on devil
  • Backblaze B2: nightly replica of StorageBox
  • Backups: nightly /srv/ backups via rclone → StorageBox → B2

Key Services

  • Vaultwarden (password manager) — homelab-one
  • Forgejo (git) — homelab-one
  • Immich (photos) — devil
  • Jellyfin (media) — devil
  • Grafana + Loki + Prometheus (observability) — homelab-one
  • Home Assistant — old-devil
  • Arr-stack (sonarr, radarr, prowlarr, sabnzbd, qbittorrent) — devil

Neovim

The nixvim configuration lives in its own repo: https://git.iamabhay.fyi/abhay/nixvim-config

Infra imports it as a flake input — edit there, both infra and WSL pick up changes.