WSL config sets non-existent interop options #42

Closed
opened 2026-06-24 15:34:35 +01:00 by lyrathorpe · 0 comments
Owner

system/machine/EDaaS/configuration.nix sets two options under wsl.wslConf.interop that the NixOS-WSL module does not declare:

  • wslConf.interop.register
  • wslConf.interop.includePath

The module's interop submodule declares only enabled and appendWindowsPath. The freeform INI type on wslConf does not extend to keys nested under the already-declared interop group, so evaluation rejects these as unknown options.

Neither is a valid wsl.conf [interop] key — the section supports only enabled and appendWindowsPath. (register is a wsl.exe CLI verb, not a config field; includePath does not exist.)

Fix

Remove both lines.

`system/machine/EDaaS/configuration.nix` sets two options under `wsl.wslConf.interop` that the NixOS-WSL module does not declare: - `wslConf.interop.register` - `wslConf.interop.includePath` The module's `interop` submodule declares only `enabled` and `appendWindowsPath`. The freeform INI type on `wslConf` does not extend to keys nested under the already-declared `interop` group, so evaluation rejects these as unknown options. Neither is a valid `wsl.conf` `[interop]` key — the section supports only `enabled` and `appendWindowsPath`. (`register` is a `wsl.exe` CLI verb, not a config field; `includePath` does not exist.) ### Fix Remove both lines.
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: lyrathorpe/nixfiles#42