Replies: 1 comment
|
I changed the setting to use mkDefault (#943), so you should no longer need to use mkForce |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
All reactions