Skip to content

Commit 394c77f

Browse files
K900nzbr
authored andcommitted
wsl-distro: drop user-runtime-dir hack
It isn't actually necessary, lingering is just completely broken with how current WSL handles runtime directories.
1 parent 64d6795 commit 394c77f

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

modules/wsl-distro.nix

-10
Original file line numberDiff line numberDiff line change
@@ -143,16 +143,6 @@ in
143143
};
144144
};
145145

146-
# Prevent systemd from mounting a tmpfs over the runtime dir (and thus hiding the wayland socket)
147-
systemd.services."user-runtime-dir@" = {
148-
overrideStrategy = "asDropin";
149-
serviceConfig.ExecStart =
150-
[
151-
"" # unset old value
152-
"${pkgs.coreutils}/bin/true"
153-
];
154-
};
155-
156146
# dhcp is handled by windows
157147
networking.dhcpcd.enable = false;
158148

0 commit comments

Comments
 (0)