Files
nixos/modules
oqyude 1adf6dd90c refactor(pxe-infra): move the pxe-infra option surface next to the feature (T46)
modules/options.nix was 433 lines, of which 351 (80%) were the
`options.pxe-infra` block. That file is documented as the home of
cross-module options, but the pxe-infra surface belongs to one feature that
already owns a directory of eight modules.

modules/pxe-infra/default.nix had already made this call for the sibling
option and said so at :26-33: "Declared here (not in modules/options.nix)
because this task's scope is modules/pxe-infra/ only". This commit applies the
same rule to the rest of the surface, which also removes the split where
`pxe-infra.bootloader` lived in one file and
`pxe-infra.bootloader.bypassFallback` in another.

The moved block is byte-identical — md5 e672a94dd9676cff1e3dd5096499232c for
both the old range (modules/options.nix:82-432) and the new
(modules/pxe-infra/options.nix:15-365), 351 lines. modules/options.nix is now
81 lines and holds only `host.builder` and `host."3x-ui"`, plus a pointer to
where feature-local options live.

Behaviour is preserved:
  - the declared option set is unchanged: still exactly
    `options.pxe-infra` and `options.pxe-infra.bootloader.bypassFallback`;
  - `modules/pxe-infra/default.nix` imports ./options.nix, so the option
    exists on every host that imports the umbrella;
  - the only place outside modules/pxe-infra/ that touches it is
    configurations/mini-laptop.nix:88, and that host imports
    ../modules/pxe-infra at :17. No other host reads config.pxe-infra.

Verified: import-graph green (120 files, 120 references), checks PASS 3 /
FAIL 0.

Not verified here: `nix flake check`. There is no nix binary on this machine,
so evaluation must be confirmed by the owner before this is deployed.

Not pushed.
2026-10-24 02:33:22 +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