Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document/stabilise boot.initPath and friends #10425

Open
K900 opened this issue Aug 27, 2023 · 0 comments
Open

Document/stabilise boot.initPath and friends #10425

K900 opened this issue Aug 27, 2023 · 0 comments
Assignees
Labels

Comments

@K900
Copy link

K900 commented Aug 27, 2023

Is your feature request related to a problem? Please describe.
We currently have to resort to symlinking wrapper scripts into well-known locations to make NixOS run on WSL, because we don't generally install things to "normal" locations. However, there are undocumented wsl.conf options that allow us to directly specify the right paths in the config...

Describe the solution you'd like
boot.initPath, boot.initShutdownCommand and boot.initWaitCommand wsl.conf settings are stabilized and made part of public API.

Describe alternatives you've considered
Continue doing what we're doing, which is tolerable but prone to breaking should WSL ever change how it does things.

Additional context
I found the settings by accident while poking the init binary with strings. I don't know if they're a recent addition or not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants