!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
14 Oct 2025
@k900:0upti.meK900And I'm pretty sure it's Good08:38:47
@k900:0upti.meK900Like, I have not seen any random clock jumps since08:39:16
@sandro:supersandro.deSandro 🐧Then go for it14:47:22
@sandro:supersandro.deSandro 🐧Chrony ftw14:47:25
@nzbr:nzbr.denzbr (they/it) Oh nice
I had a quick look at it, and it seems you made systemd-timesyncd unhappy though
14:48:34
@sandro:supersandro.deSandro 🐧 Does chrony not disable/replace it? 14:49:46
@k900:0upti.meK900 It does 14:49:59
@k900:0upti.meK900 Well it should 14:50:00
@k900:0upti.meK900The idea is that you sync to the host clock instead of the NTP14:50:25
@nzbr:nzbr.denzbr (they/it)This is what I mean https://github.com/nix-community/NixOS-WSL/actions/runs/18490648992/job/52683452060?pr=821#step:5:2514:51:01
@k900:0upti.meK900Oops14:52:14
@k900:0upti.meK900Forgot to remove the override for timesyncd14:52:34
@k900:0upti.meK900Should be good now14:52:34
@nzbr:nzbr.denzbr (they/it)👍️ I set it to merge when the pipeline passes14:54:01
15 Oct 2025
@emma:rory.gayEmma [it/its] question: how come GUI apps dont show up in the windows start menu? i already found and enabled the wsl.startMenuLaunchers option but that didnt seem to have an effect 03:35:49
16 Oct 2025
@tumypmyp:matrix.orgTimur Gainullin joined the room.14:02:45
17 Oct 2025
@tumypmyp:matrix.orgTimur Gainullin changed their profile picture.09:53:43
18 Oct 2025
@beni:matrix.wirebug.chBeni HB9HNT joined the room.18:01:07
20 Oct 2025
@kolargol00:matrix.org@kolargol00:matrix.org left the room.11:39:31
23 Oct 2025
@mrargoz:matrix.org@mrargoz:matrix.org joined the room.21:01:46
24 Oct 2025
@mrargoz:matrix.org@mrargoz:matrix.org left the room.04:40:00
25 Oct 2025
@ptramo:matrix.orgPierre Carrierdo we have any control over the compositor used in wslg?17:54:02
@k900:0upti.meK900No18:00:05
@evanjsx:matrix.orgevanjs

Are there any quick things to check if time syncing is wacky on my instance?

Chrony keeps whining that something else might be changing the time

And it's just enough that I can't use SSH to connect to other hosts from the WSL instance (AFAICT)

Just rebuilt using latest changes from the repo today

21:17:55
@k900:0upti.meK900 I don't think the time should affect SSH 21:18:48
@evanjsx:matrix.orgevanjs

Neither did I
Then I started seeing this in the journal on the device I was trying to connect to

<DATE> <HOSTNAME> sshd[<PID>]: drop connection #0 from [<REMOTE_IP>]:<REMOTE_PORT> on [<HOST_IP>]:22 penalty: exceeded LoginGraceTime
21:39:39
@evanjsx:matrix.orgevanjs

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
@evanjsx:matrix.orgevanjsMight 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:matrix.orgchezygun joined the room.18:52:52
30 Oct 2025
@fabdb:mokasin.defabdb

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

Show newer messages


Back to Room ListRoom Version: 9