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

Loading module via flake duplicates fallback-path and doesn't work as expected #149

Closed
SuperSandro2000 opened this issue Mar 19, 2024 · 3 comments

Comments

@SuperSandro2000
Copy link

I added the module as described here to my flake and the fallback-path mount option is now duplicated.

none /usr/bin envfs fallback-path=/nix/store/hiyvx1mfzah7lqr8bphyys7n08j36z8x-fallback-path,nofail,bind-mount=/bin,fallback-path=/nix/store/jzdimbli3q7fba1izbxnrpn3qq39s05x-fallback-path,nofail 0 0

Disabling it via disabledModules = [ "tasks/filesystems/envfs.nix" ]; works but then the options defined in nixos (https://github.com/NixOS/nixpkgs/blob/master/nixos/modules/tasks/filesystems/envfs.nix#L25-L50) are missing and I can no longer use envfs in wsl.

@Mic92
Copy link
Owner

Mic92 commented Mar 20, 2024

Have you still enabled the other module?

@SuperSandro2000
Copy link
Author

Have you still enabled the other module?

I need to, otherwise options I am using for NixOS-WSL are missing.

@Mic92
Copy link
Owner

Mic92 commented Mar 20, 2024

In that case you might be better off just copy the module and change it.

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

No branches or pull requests

2 participants