!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

332 Members
https://github.com/nix-community/NixOS-WSL56 Servers

Load older messages


SenderMessageTime
4 Nov 2022
@sandro:supersandro.deSandro 🐧
In reply to @k900:0upti.me
But it's still kinda buggy
and not available on w10
16:55:43
@kranzes:matrix.org@kranzes:matrix.org left the room.21:42:39
6 Nov 2022
@nzbr:nzbr.denzbr (they/it)
In reply to @myme:matrix.org
How do people handle that WSL doesn't launch into a login shell by default? It's fairly trivial to have Windows Terminal start bash -l. But it's more of a hassle with the .desktop app launchers, which also won't launch with a proper environment.
Can you create an issue for this? I think the best idea is to somehow run all commands through the user's shell with --login -c "$command", though I'm not sure if that will work with all non posix-compliant shells
04:55:30
@myme:matrix.orgmyme

Can you create an issue for this?

Sure, I can do that! I wanted to hear people's thoughts first. Not really something that feels like solely a NixOS WSL issue. But until native systemd is stable I guess it's nice to work around these things (e.g. if it's configurable in case people don't want this default behavior).

I guess having things like https://github.com/microsoft/WSL/issues/8842 and related things resolved so that systemd "just handles everything". Like, I also have to do an systemctl --user import-environment SSH_AUTH_SOCK WSLENV to get this into my user service environments.

13:50:18
@k900:0upti.meK900I don't think we should keep piling on workarounds for upstream issues13:53:04
@k900:0upti.meK900That's how you get Ubuntu13:53:11
@nzbr:nzbr.denzbr (they/it)The problem here is, that we can't ever get rid of syschdemd, because native systemd only works on Windows 11 - so in my opinion, fixing issues with syschdemd makes sense, but we should not pile up workarounds for things that are broken with native systemd and will be fixed by Microsoft in the future21:29:51
7 Nov 2022
@myme:matrix.orgmymehttps://github.com/nix-community/NixOS-WSL/issues/15509:26:14
8 Nov 2022
@liamnos:matrix.orgliamnos joined the room.19:01:55
10 Nov 2022
@k900:0upti.meK900What the hell is happening09:16:26
@k900:0upti.meK900WSL is making a huge vhdx file in %temp% now 09:16:37
@k900:0upti.meK900For my /tmp09:16:40
@k900:0upti.meK900That's mounted on tmpfs09:16:45
@k900:0upti.meK900What is even09:16:52
@nzbr:nzbr.denzbr (they/it)image.png
Download image.png
09:18:51
@nzbr:nzbr.denzbr (they/it)Like these?09:18:53
@k900:0upti.meK900Yep09:19:18
@nzbr:nzbr.denzbr (they/it)Weird... I have my /tmp on tmpfs as well (at least I think so)09:19:41
@nzbr:nzbr.denzbr (they/it)Fun fact: Those appear in my backups09:20:13
@nzbr:nzbr.denzbr (they/it) * "Fun" fact: Those appear in my backups09:20:19
@houstdav000:gh0st.ems.hosthoustdav000 Maybe its some kind of new "swap" implementation? Weird... 11:16:58
@nzbr:nzbr.denzbr (they/it)I do indeed have swap enabled, so that might be it11:18:53
@nzbr:nzbr.denzbr (they/it)image.png
Download image.png
11:29:52
@nzbr:nzbr.denzbr (they/it) houstdav000: Bingo! It's completely formatted as swap - not even a partition table 11:30:37
@k900:0upti.meK900So wait do they actually add swap by default 11:32:34
@nzbr:nzbr.denzbr (they/it)image.png
Download image.png
11:33:29
@nzbr:nzbr.denzbr (they/it)apparently11:33:32
@k900:0upti.meK900Blerf11:33:43
@k900:0upti.meK900I guess I just have to remove that now11:33:50
@nzbr:nzbr.denzbr (they/it)It's possible to set it to a static path, so that's what I did now. It's weird that these aren't properly cleaned up though11:36:14

Show newer messages


Back to Room ListRoom Version: 9