Files
nixos/modules
oqyude 0d52f2058d refactor(modules): drop the duplicated WSL nix-serve module (T45)
modules/wsl/nix-serve.nix was a byte-identical copy of
modules/server/nix-serve.nix — md5 0aca1128f12f975d2376db21fbd92e40 for both.
Two live hosts, two copies of the same 25 lines: any fix to one silently
missed the other.

The WSL module now imports ../server/nix-serve.nix.

Equivalence is established by content, not by a run: the module body is
identical, and its `sopsFile = ./secrets/nix-serve.yaml` resolves relative to
the importing file — so WSL now reads
modules/server/secrets/nix-serve.yaml, which is itself byte-identical to the
copy it used to read (md5 af6e04419e8b3dd467c8cb693f374782 for both). The
evaluated configuration is therefore unchanged; only the paths differ.

`services.nix-serve` is now declared by exactly one file in the repo.

Verified: import-graph check green (119 .nix files, 119 references), and
`bash .ci/checks.sh --no-build` -> PASS 3 / FAIL 0.

Note: modules/wsl/secrets/nix-serve.yaml is now unreferenced. It is NOT
deleted here — secrets need explicit owner sign-off, see
.agent/tasks/manifest.md T53.

Not pushed.
2026-10-24 02:25:38 +03:00
..
2026-09-02 23:32:34 +03:00
2026-08-11 22:13:53 +03:00
2026-10-01 15:14:37 +03:00