NixOS flake configuration for the dev-nix Incus container
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Neel Sani 6a6bcc4293
All checks were successful
ci / nix-ci (push) Successful in 44s
feat(firewall): open 3000 on net-mgmt for dev servers
Only on eth1, which the homelab config pins to net-mgmt (10.50.40.200), so
a dev server started with -H 10.50.40.200 -p 3000 is reachable from the
management network and nowhere else. Container only; the VM is unchanged.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-11-27 00:03:38 +00:00
.forgejo/workflows ci: replace custom nix action 2026-09-20 16:02:10 +00:00
platforms feat(firewall): open 3000 on net-mgmt for dev servers 2026-11-27 00:03:38 +00:00
.gitignore Initial dev-nix NixOS flake 2026-09-18 05:20:31 +00:00
.sops.yaml Initial dev-nix NixOS flake 2026-09-18 05:20:31 +00:00
configuration.nix fix(ssh): only the container listens on dev-nix's address 2026-11-26 14:00:32 -05:00
flake.lock Initial dev-nix NixOS flake 2026-09-18 05:20:31 +00:00
flake.nix feat(incus): dev-nix-vm output alongside the dev-nix container 2026-11-26 18:35:05 +00:00
gtvpn.nix fix(gtvpn): make background mode configure the tunnel 2026-10-06 18:08:47 +00:00
incus.nix Initial dev-nix NixOS flake 2026-09-18 05:20:31 +00:00
nix-ld.nix fix(nix-ld): drop the duplicate /etc/ssl/cert.pem (configuration.nix sets it) 2026-10-25 00:24:00 +00:00
README.md Initial dev-nix NixOS flake 2026-09-18 05:20:31 +00:00
secrets.yaml feat: gtvpn up/down/status, sops-managed PVC keys, git credential helper 2026-10-06 17:57:56 +00:00
sops.nix Initial dev-nix NixOS flake 2026-09-18 05:20:31 +00:00
ssh.nix fix(ssh): try ~/.ssh/id_ed25519 first for github.com 2026-10-13 17:20:49 +00:00
vscode-server-fix.nix Initial dev-nix NixOS flake 2026-09-18 05:20:31 +00:00

dev-nix NixOS configuration

Declarative NixOS flake for the dev-nix Incus container.

Deploy

From dev-nix:

sudo nixos-rebuild switch --flake .#dev-nix

Secrets are managed with sops-nix. The encrypted secrets.yaml is tracked; plaintext credentials must not be committed.