| 25 Oct 2025 |
evanjs | That being said...
My skew is only ~13s on the WSL instance
And based on the sshd config's commented out defaults on the other device, that period should be 2m
So perhaps it is unrelated, after all 🤔
| 21:40:58 |
| 26 Oct 2025 |
evanjs | Might have figured it out....
I am not sure why
But the MTU on the NixOS WSL side was set to 1200... | 15:35:30 |
| 29 Oct 2025 |
| chezygun joined the room. | 18:52:52 |
| 30 Oct 2025 |
fabdb | I have trouble updating my system. Can somebody tell me, what is going on? Couldn't find an issue on github for that.
$ cat $(nix-instantiate --find-file nixpkgs)/.git-revision
e99366c665bdd53b7b500ccdc5226675cfc51f45
sudo nixos-rebuild switch --upgrade
unpacking 2 channels...
unpacking 2 channels...
building the system configuration...
evaluation warning: The option `hardware.opengl.enable' defined in `/nix/store/cynw1547shxm7c3j7qi5jk6bgmvjwz3x-nixos-wsl/nixos-wsl/modules/wsl-distro.nix' has been renamed
to `hardware.graphics.enable'.
error:
… while calling the 'head' builtin
at /nix/store/jjmyd2jxv1s7awbjrxhysvr3z2filg7n-nixos/nixos/lib/attrsets.nix:1696:13:
1695| if length values == 1 || pred here (elemAt values 1) (head values) then
1696| head values
| ^
1697| else
… while evaluating the attribute 'value'
at /nix/store/jjmyd2jxv1s7awbjrxhysvr3z2filg7n-nixos/nixos/lib/modules.nix:1118:7:
1117| // {
1118| value = addErrorContext "while evaluating the option `${showOption loc}':" value;
| ^
1119| inherit (res.defsFinal') highestPrio;
… while evaluating the option `system.build.toplevel':
… while evaluating definitions from `/nix/store/jjmyd2jxv1s7awbjrxhysvr3z2filg7n-nixos/nixos/nixos/modules/system/activation/top-level.nix':
… while evaluating the option `system.systemBuilderArgs':
… while evaluating definitions from `/nix/store/jjmyd2jxv1s7awbjrxhysvr3z2filg7n-nixos/nixos/nixos/modules/system/activation/activatable-system.nix':
… while evaluating the option `system.activationScripts.populateBin.text':
… while evaluating definitions from `/nix/store/cynw1547shxm7c3j7qi5jk6bgmvjwz3x-nixos-wsl/nixos-wsl/modules/wsl-distro.nix':
… while evaluating the option `wsl.extraBin."[definition 2-entry 1]".src':
… while evaluating definitions from `/nix/store/cynw1547shxm7c3j7qi5jk6bgmvjwz3x-nixos-wsl/nixos-wsl/modules/recovery.nix':
(stack trace truncated; use '--show-trace' to show the full, detailed trace)
error: attribute 'nixos-enter' missing
at /nix/store/cynw1547shxm7c3j7qi5jk6bgmvjwz3x-nixos-wsl/nixos-wsl/modules/recovery.nix:3:18:
2| let
3| nixos-enter' = config.system.build.nixos-enter.overrideAttrs (_: {
| ^
4| runtimeShell = "/bin/bash";
Command 'nix-build '<nixpkgs/nixos>' --attr config.system.build.toplevel --no-out-link' returned non-zero exit status 1.
| 12:59:25 |
nzbr (they/it) | Does just nixos-rebuild switch work? | 13:00:49 |
nzbr (they/it) | * Does just sudo nixos-rebuild switch work? | 13:01:23 |
fabdb | Ah, no. Let me fix that and get back to you:
error:
Failed assertions:
- The option definition `wsl.nativeSystemd' in `/etc/nixos/configuration.nix' no longer has any effect; please remove it.
Native systemd is now always enabled as support for syschdemd has been removed
Command 'nix-build '<nixpkgs/nixos>' --attr config.system.build.toplevel --no-out-link' returned non-zero exit status 1.
| 13:01:40 |
Simon.Sieben@mailbox.tu-dresden.de | Redacted or Malformed Event | 13:02:14 |
fabdb | That was it. Now both work again. Thanks! The error put me off. | 13:04:47 |
| wyndon joined the room. | 19:35:16 |
wyndon | 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 | 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 | actually 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 borked | 20:04:15 |
| 31 Oct 2025 |
| @ipsavitsky234:matrix.org left the room. | 00:36:05 |
| @dguibert:beeper.com left the room. | 16:50:32 |
| 1 Nov 2025 |
| ojqo92zc joined the room. | 16:17:44 |
ojqo92zc | does this work well? | 16:18:09 |
ojqo92zc | does hyprland work with this? | 16:18:17 |
K900 | It works | 16:36:43 |
K900 | Hyprland will not work | 16:36:46 |
K900 | WSL can't manage your Windows windows | 16:36:52 |
Emma [it/its] | does it not? i thought it was fine if you enabled opengl support? | 16:41:50 |
K900 | Well it can maybe run as a nested session | 16:42:01 |
K900 | But it's not exactly practical | 16:42:04 |
Emma [it/its] | i should note that i didnt try because i dont have any windows installs that have accelerated 2D/3D graphics at all | 16:42:21 |
Emma [it/its] | ie. running hyprland itself under linux there isnt even a thing due to no acceleration | 16:42:52 |
K900 | Technically WSL should always have OpenGL, possibly over WARP | 16:44:01 |
Emma [it/its] | WARP? | 16:46:50 |
K900 | https://learn.microsoft.com/en-us/windows/win32/direct3darticles/directx-warp | 16:48:25 |
| lesstech joined the room. | 19:27:08 |