!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

341 Members
https://github.com/nix-community/NixOS-WSL57 Servers

Load older messages


SenderMessageTime
31 Jan 2024
@nzbr:nzbr.denzbr (they/it)Though it seems they have it exposed as a build flag for the package at least01:50:33
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.03:36:03
@federicodschonborn:matrix.orgFederico Damián Schonborn changed their profile picture.06:21:41
1 Feb 2024
@vaci_k:matrix.orgVaci Koblizek joined the room.13:06:43
2 Feb 2024
@mobyturbo:matrix.orgEdLin joined the room.06:20:45
@shivayspec:matrix.orgSpecx joined the room.07:11:10
3 Feb 2024
@ohmymndy:matrix.orgMandy Schoep set a profile picture.11:17:35
4 Feb 2024
@kyaru:ptt.moe@kyaru:ptt.moe joined the room.06:57:13
5 Feb 2024
@qwqawawow:matrix.org98765abc set a profile picture.04:45:09
@qwqawawow:matrix.org98765abc changed their profile picture.04:48:25
@ThorHop:matrix.org@ThorHop:matrix.org removed their profile picture.22:45:44
@ThorHop:matrix.org@ThorHop:matrix.org removed their display name IdeallyYes.22:46:35
@ThorHop:matrix.org@ThorHop:matrix.org left the room.22:47:06
6 Feb 2024
@kyaru:ptt.moe@kyaru:ptt.moe changed their display name from Kiruya Momochi to 百地希留耶.00:05:11
8 Feb 2024
@rxzfn2:matrix.orgzf zhangI found a wonderful video on nixos. Anyone ever try that on nixos-wsl?08:15:00
@k900:0upti.meK900Try, uh, what08:17:01
@rxzfn2:matrix.orgzf zhang * https://github.com/vimjoyer/impermanent-setup and https://www.youtube.com/watch?v=YPKwkWtK7l0 I found a wonderful video on nixos. Anyone ever try that on nixos-wsl?08:28:14
@nzbr:nzbr.denzbr (they/it) I'm pretty sure you can't use impermanence on WSL, at least not as-is. It requires having a tmpfs as the root partition, but WSL will just mount the ext4 image as root before handing control over to our systemd shim, so we have no chance to replicate that setup 1:1. That being said: I'm pretty sure that it would be technically possible to create a similar solution by making the shim mount tmpfs over all the directories in /, but I'm probably not gonna invest the time to find out if that actually works anytime soon 09:12:10
@k900:0upti.meK900You definitely can't do impermanence on WSL09:12:39
@k900:0upti.meK900Because you don't have control over the root fs at all09:12:45
@k900:0upti.meK900And WSL will explode if you touch it wrong09:13:01
@nzbr:nzbr.denzbr (they/it)
In reply to @k900:0upti.me
And WSL will explode if you touch it wrong
That's the most likely outcome, yeah
09:13:31
@nzbr:nzbr.denzbr (they/it)
In reply to @k900:0upti.me
Because you don't have control over the root fs at all
It would be possible to mount one tmpfs per directory in / (or create one and bind mount it to each) for a similar result, but it would probably be rather complicated and, as you said make WSL explode in new and exciting ways
09:16:15
@k900:0upti.meK900Definitely not /etc09:16:42
@k900:0upti.meK900/etc exists before any of the shim even runs09:16:52
@nzbr:nzbr.denzbr (they/it) There's no way to ensure nothing touches the actual ext4, that's true. But it could still be cleaned before systemd starts. Now that I think about it: It's break writing wsl.conf though 09:19:27
@nzbr:nzbr.denzbr (they/it) * There's no way to ensure nothing touches the actual ext4, that's true. But it could still be cleaned before systemd starts. Now that I think about it: It'll break writing wsl.conf though 09:40:44
@symys:dailyaslbot.twilightparadox.comsymys joined the room.18:47:03
@enemycube:matrix.orgenemycube joined the room.19:38:56
10 Feb 2024
@k900:0upti.meK900Has anyone tried building a kernel with pressure stats on WSL?16:45:00

Show newer messages


Back to Room ListRoom Version: 9