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

feat: add option to disable wslg x11 mount #371

Merged
merged 2 commits into from
Jan 5, 2024

Conversation

PhilippHeuer
Copy link
Contributor

@PhilippHeuer PhilippHeuer commented Dec 21, 2023

This PR migrates from systemd.tmpfiles.rules to systemd.tmpfiles.settings to allow user overrides.

This way the /tmp/.X11-unix wslg mount can be disabled with:

systemd.tmpfiles.settings = {
  "10-wslg-x11" = lib.mkForce {};
};

For reference the old and new content in /etc/tmpfiles.d:

old: L /tmp/.X11-unix - - - - /mnt/wslg/.X11-unix
new: 'L' '/tmp/.X11-unix' '-' '-' '-' '-' /mnt/wslg/.X11-unix

@nzbr nzbr added the enhancement New feature or request label Jan 5, 2024
@nzbr nzbr merged commit b3d71bf into nix-community:main Jan 5, 2024
20 checks passed
@nzbr
Copy link
Member

nzbr commented Jan 5, 2024

Thanks @PhilippHeuer!

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

Successfully merging this pull request may close these issues.

3 participants