Files
nixos-core/.sops.yaml
T
kiskaadee 1a50c8a668 feat(nixos): scaffold declarative NixOS appliance for homelab server
Phase 1 & 2 of the homelab-core NixOS migration plan.

Adds a fully standalone NixOS flake configuration targeting the
roadtotech.me homelab server. Goal: wipe & restore from any bare
NixOS install via `nixos-install --flake ~/Core#server`.

Changes:
- flake.nix: 2-input flake (nixpkgs channel tarball + sops-nix)
- flake.lock: generated lockfile pinning nixos-26.11pre1070770.8ce4ef6
- .sops.yaml: SOPS rules scoped to nixos/secrets.yaml (server + laptop keys)
- nixos/configuration.nix: clean standalone config; no HM, no desktop
  inheritance, no lib.mkForce; headless-optimised; SOPS set exactly once
- nixos/hardware-configuration.nix: copied from Config/hosts/server/
- nixos/secrets.yaml: copied SOPS-encrypted secrets from Config/hosts/server/
- nixos/modules/homeserver.nix: migrated; sops.defaultSopsFile removed
- nixos/modules/traefik-deployments.nix: migrated; sops.defaultSopsFile removed
- nixos/modules/dynu.nix: migrated; paths updated to ../scripts/
- nixos/scripts/monitor.py: dynu IP monitor Python script
- nixos/scripts/ddclient.conf: ddclient config template
- AGENTS.md: fix stale reference to deprecated desktop secrets path

Validated:
  nix flake check -> all checks passed
  nix build .#nixosConfigurations.server.config.system.build.toplevel \
    --no-link -> success (nixos-system-server-26.11.20260910.8ce4ef6)
2026-09-11 17:29:22 -05:00

12 lines
295 B
YAML

keys:
- &server age18q3lr2z4yeg2f86my42ym4hx0dvcwgjshmchyhdkgwvf4k37dsyq3mcjse
- &laptop age1pln9sxy5j93lklqklfwp3qepx7x4cs4y2w63n9y3ykt68qgra5ysqleesg
creation_rules:
- path_regex: nixos/secrets\.yaml$
key_groups:
- pgp: []
age:
- *server
- *laptop