You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Why is the UID of the default user hard-coded in the wsl-distro.nix module? Does WSL or any part of NixOS-WSL specifically require the default user to have UID = 1000?
If not, it would be beneficial to remove this line, as it would enable more flexible configurations, especially in scenarios where the UID is already defined.
In my use case, I set the UID in modules shared across multiple hosts, and I would prefer to avoid having to use lib.mkForce simply because of one host that uses these modules.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
-
Why is the UID of the default user hard-coded in the wsl-distro.nix module? Does WSL or any part of NixOS-WSL specifically require the default user to have UID = 1000?
If not, it would be beneficial to remove this line, as it would enable more flexible configurations, especially in scenarios where the UID is already defined.
In my use case, I set the UID in modules shared across multiple hosts, and I would prefer to avoid having to use lib.mkForce simply because of one host that uses these modules.
Beta Was this translation helpful? Give feedback.
All reactions