!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

343 Members
https://github.com/nix-community/NixOS-WSL59 Servers

Load older messages


SenderMessageTime
7 Aug 2024
@thomas:berryhill.me@thomas:berryhill.me changed their profile picture.16:13:34
8 Aug 2024
@qyliss:fairydust.spaceAlyssa Ross set a profile picture.18:48:56
10 Aug 2024
@wreckedavent:matrix.orgRiley Cat joined the room.02:16:04
@wreckedavent:matrix.orgRiley Cathello. is windows/arm64 a supported target for nixos on wsl? 02:19:08
@wreckedavent:matrix.orgRiley Catimage.png
Download image.png
02:19:42
@wreckedavent:matrix.orgRiley Cati ask only because the most basic operations seem to not be02:19:49
@wreckedavent:matrix.orgRiley Cat set a profile picture.02:30:38
@khaneliman:matrix.orgAustin Horstman changed their display name from Khaneliman to Austin Horstman.03:50:12
@k900:0upti.meK900Not currently06:01:35
@k900:0upti.meK900I believe aarch64 WSL is kind of a mess06:01:42
@wreckedavent:matrix.orgRiley Catwell, i was expecting issues like what i got with wsl/ubuntu, like nested virtualization being a bit of a trash fire 15:27:16
@wreckedavent:matrix.orgRiley Catnot hello world being completely borked15:27:28
@wreckedavent:matrix.orgRiley Catah, well. do you think contributions from these devices will help? or is it more of a waiting for kernel updates thing 15:36:12
@k900:0upti.meK900I mean, you'd have to troubleshoot it yourself15:37:25
@k900:0upti.meK900But if you find fixes, please submit them15:37:31
@nzbr:nzbr.deArson CopperflameI'd love to support it officially, but we don't have access to aarch64 github runners and the only windows on arm device I have myself is a VM on an M1 Mac, which can't do nested virtualisation at all, so no Hyper-V in the VM15:59:50
@wreckedavent:matrix.orgRiley Cat i have a current gen surface laptop but i'm afraid i wouldn't even begin to know where to look about proc/self throwing up like that 17:55:43
@k900:0upti.meK900https://github.com/microsoft/WSL/releases/tag/2.3.1718:49:57
@k900:0upti.meK900Great18:49:57
11 Aug 2024
@gleydar:beeper.comGleydarHuh, there goes the cgroupsV2 13:43:50
13 Aug 2024
@gleydar:beeper.comGleydar

I was wondering, how do the specialisations work with nixos-wsl exactly? 😄

I created a specialisation to set a proxy server. Switching to the specialisation works like expected via sudo /run/current-system/specialisations/<name>/bin/switch-to-configuration test, and the proxy is set e.g. in the nix-daemon override file.

However, I sadly have some issues switching back to my base config... I tried using sudo /run/current-system/bin/switch-to-configuration test however, in that case the proxy server is still set in the nix-daemon override...

11:04:33
@gleydar:beeper.comGleydar *

I was wondering, how do the specialisations work with nixos-wsl exactly? 😄

I created a specialisation to set a proxy server. Switching to the specialisation works like expected via sudo /run/current-system/specialisations/<name>/bin/switch-to-configuration test, and the proxy is set e.g. in the nix-daemon override file.

However, I sadly have some issues switching back to my base config... I tried using sudo /run/current-system/bin/switch-to-configuration test however, in that case the proxy server is still set in the nix-daemon override...

11:04:42
@gleydar:beeper.comGleydar *

I was wondering, how do the specialisations work with nixos-wsl exactly? 😄

I created a specialisation to set a proxy server. Switching to the specialisation works like expected via sudo /run/current-system/specialisations/<name>/bin/switch-to-configuration test, and the proxy is set e.g. in the nix-daemon override file.

However, I sadly have some issues switching back to my base config... I tried using sudo /run/current-system/bin/switch-to-configuration test however, in that case the proxy server is still set in the nix-daemon override... Only when I do a wsl --shutdown can I switch back to my base config.

Could anyone point me to the right command to use for switching from specialisation to base?

11:05:33
@nzbr:nzbr.deArson CopperflameWe don't do anything to handle specialisations specifically. You can probably do it the same way as on bare-metal NixOS. I haven't used the feature much though, so I can't say how that would look exactly14:37:39
15 Aug 2024
@ajhalili2006:envs.net@ajhalili2006:envs.net changed their display name from ~ajhalili2006 [ recaptime.eu.org / sr.ht / tildeverse ] to ~ajhalili2006 [ recaptime.dev / sr.ht / tildeverse ].17:25:51
16 Aug 2024
@nebucatnetzer13:matrix.org@nebucatnetzer13:matrix.org set a profile picture.11:06:00
@gleydar:beeper.comGleydar
In reply to @nzbr:nzbr.de
We don't do anything to handle specialisations specifically. You can probably do it the same way as on bare-metal NixOS. I haven't used the feature much though, so I can't say how that would look exactly
Sadly, this seems a bit broken... It is mentioned in the wiki that some things only reset on boot. Even though adding variables to the service works (in my case adding the proxy), apparently removing variables isn't supported when using test...
11:26:05
@aurorasystem:matrix.orgAurora Ennie Seidr (she / her) joined the room.14:55:12
@aurorasystem:matrix.orgAurora Ennie Seidr (she / her)Yay! 14:55:22
@aurorasystem:matrix.orgAurora Ennie Seidr (she / her)It worked14:55:29

Show newer messages


Back to Room ListRoom Version: 9