!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

327 Members
https://github.com/nix-community/NixOS-WSL55 Servers

Load older messages


SenderMessageTime
30 Oct 2025
@fabdb:mokasin.defabdbThat was it. Now both work again. Thanks! The error put me off.13:04:47
@wyndon:envs.netwyndon joined the room.19:35:16
@wyndon:envs.netwyndon i'm getting this upon trying to update my config

restarting systemd...
Error: Failed to reset failed units

Caused by:
    Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

[process exited with code 1 (0x00000001)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

it completely borks my system as i can't even get into a recovery shell (by using wsl -d NixOS --system --user root -- /mnt/wslg/distro/bin/nixos-wsl-recovery)

/mnt/wslg/distro/bin/nixos-wsl-recovery: /mnt/wslg/distro//nix/store/dih2wyarm9lyl006gnv7d869npkbgp6h-nixos-enter/bin/nixos-enter: /nix/store/ciarnmsx8lvsrmdbjddpmx0pqjrm8imb-bash-5.3p3/bin/bash: bad interpreter: No such file or directory
/mnt/wslg/distro/bin/nixos-wsl-recovery: line 9: /mnt/wslg/distro//nix/store/dih2wyarm9lyl006gnv7d869npkbgp6h-nixos-enter/bin/nixos-enter: Success
19:44:23
@wyndon:envs.netwyndon i'm getting this upon trying to update my config

restarting systemd...
Error: Failed to reset failed units

Caused by:
    Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

[process exited with code 1 (0x00000001)]
You can now close this terminal with Ctrl+D, or press Enter to restart.

if i do a switch, it just boots into the previous generation as if nothing has been applied. if i do a boot, it completely borks my system as i can't even get into a recovery shell (by using wsl -d NixOS --system --user root -- /mnt/wslg/distro/bin/nixos-wsl-recovery)

/mnt/wslg/distro/bin/nixos-wsl-recovery: /mnt/wslg/distro//nix/store/dih2wyarm9lyl006gnv7d869npkbgp6h-nixos-enter/bin/nixos-enter: /nix/store/ciarnmsx8lvsrmdbjddpmx0pqjrm8imb-bash-5.3p3/bin/bash: bad interpreter: No such file or directory
/mnt/wslg/distro/bin/nixos-wsl-recovery: line 9: /mnt/wslg/distro//nix/store/dih2wyarm9lyl006gnv7d869npkbgp6h-nixos-enter/bin/nixos-enter: Success
19:45:11
@wyndon:envs.netwyndonactually i even get the same problem by updating the default config nixos-wsl provides. i change the channels to the unstable ones (unstable nixos and main branch nixos-wsl) and upon switching i get the same issue, installation borked20:04:15
31 Oct 2025
@ipsavitsky234:matrix.org@ipsavitsky234:matrix.org left the room.00:36:05
@dguibert:beeper.com@dguibert:beeper.com left the room.16:50:32
1 Nov 2025
@ojqo92zc:matrix.orgojqo92zc joined the room.16:17:44
@ojqo92zc:matrix.orgojqo92zcdoes this work well?16:18:09
@ojqo92zc:matrix.orgojqo92zcdoes hyprland work with this?16:18:17
@k900:0upti.meK900It works16:36:43
@k900:0upti.meK900Hyprland will not work16:36:46
@k900:0upti.meK900WSL can't manage your Windows windows16:36:52
@emma:rory.gayEmma [it/its]does it not? i thought it was fine if you enabled opengl support?16:41:50
@k900:0upti.meK900Well it can maybe run as a nested session16:42:01
@k900:0upti.meK900But it's not exactly practical16:42:04
@emma:rory.gayEmma [it/its]i should note that i didnt try because i dont have any windows installs that have accelerated 2D/3D graphics at all16:42:21
@emma:rory.gayEmma [it/its]ie. running hyprland itself under linux there isnt even a thing due to no acceleration16:42:52
@k900:0upti.meK900Technically WSL should always have OpenGL, possibly over WARP16:44:01
@emma:rory.gayEmma [it/its]WARP?16:46:50
@k900:0upti.meK900https://learn.microsoft.com/en-us/windows/win32/direct3darticles/directx-warp16:48:25
@lesstech:matrix.orglesstech joined the room.19:27:08
7 Nov 2025
@atra1n:matrix.org@atra1n:matrix.org removed their profile picture.16:36:25
@atra1n:matrix.org@atra1n:matrix.org removed their display name Train.16:36:48
@atra1n:matrix.org@atra1n:matrix.org left the room.16:37:33
10 Nov 2025
@kachick:matrix.orgkachick joined the room.14:03:53
12 Nov 2025
@wyndon:envs.netwyndonreinstalled nixos-wsl and applied my flake config, upon restarting dns wouldn't resolve tried a bunch of combinations like disabling useNetworkd/resolved/etc. (i use clan and that's the kind of stuff clan enables), nothing worked removed networkingMode=mirrored in .wslconfig, dns worked again put back networkingMode=mirrored, dns works still (and yes i did completely restart wsl) 🤷, so apparently what works for me is putting networking.useNetworkd to false and do that mirroredMode shenanigan04:08:00
@tumypmyp:envs.nettumypmyp joined the room.11:56:41
@tumypmyp:matrix.org@tumypmyp:matrix.org left the room.11:57:00
@inayet:matrix.orgInayet changed their display name from inayet to Inayet.12:38:34

There are no newer messages yet.


Back to Room ListRoom Version: 9