!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
27 Jan 2025
@k900:0upti.meK900 The login process that WSL usually runs just isn't there 12:11:44
28 Jan 2025
@common16:matrix.orgcommon16Hey, does anyone have advice on how to install neovim 0.10? It looks like I'm still running 0.9.5 with my flake.nix and it's causing issues with my plugins (like mason.nvim)15:41:32
@k900:0upti.meK900What channel are you on?15:43:31
@k900:0upti.meK900Both 24.11 and unstable have 0.10.something15:43:36
@common16:matrix.orgcommon16This is my flake.nix: http://pastie.org/p/61D4vTo7xA6zNisqpazhtQ How can I tell what's the latest version of nixos-wsl to use? I'm still on 24.0515:46:04
@k900:0upti.meK900 Change github:nixos/nixpkgs/nixos-24.05 to github:nixos/nixpkgs/nixos-24.11 15:48:31
@common16:matrix.orgcommon16Well that was easy lol15:53:04
@common16:matrix.orgcommon16Thanks K900!15:53:08
31 Jan 2025
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge to SomeoneSerge (Bruxelles).19:34:02
2 Feb 2025
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds to pbsds (FOSDEM).16:04:43
3 Feb 2025
@lorenzleutgeb:matrix.orgLorenz Leutgeb changed their display name from Lorenz Leutgeb 📞6343 to Lorenz Leutgeb.08:53:47
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (Bruxelles) to SomeoneSerge (Gand St. Pieters).13:39:51
@pederbs:pvv.ntnu.nopbsds changed their display name from pbsds (FOSDEM) to pbsds.16:25:49
@rosssmyth:matrix.orgrosssmyth

I tried updating today and got an error.

activating the configuration...
setting up /run/booted-system...
setting up /etc...
setting up /bin...
setting up /bin/login...
setting up /sbin/init shim...
reloading user units for rsmyth...
restarting sysinit-reactivation.target
the following new units were started: sysinit-reactivation.target, systemd-tmpfiles-resetup.service
warning: the following units failed: lib-modules-5.15.153.1\x2dmicrosoft\x2dstandard\x2dWSL2.mount
× lib-modules-5.15.153.1\x2dmicrosoft\x2dstandard\x2dWSL2.mount - /lib/modules/5.15.153.1-microsoft-standard-WSL2
     Loaded: loaded (/etc/fstab; generated)
     Active: failed (Result: exit-code) since Mon 2025-02-03 16:20:11 EST; 841ms ago
 Invocation: 547fdb4bdc7a4811a2cfcd87c59735c4
      Where: /lib/modules/5.15.153.1-microsoft-standard-WSL2
       What: none
       Docs: man:fstab(5)
             man:systemd-fstab-generator(8)
         IP: 0B in, 0B out
         IO: 0B read, 0B written
        CPU: 3ms

Feb 03 16:20:11 work mount[761]: mount: /lib/modules/5.15.153.1-microsoft-standard-WSL2: wrong fs type, bad option, bad superblock on none, missing codepage or helper program, or other error.
Feb 03 16:20:11 work mount[761]:        dmesg(1) may have more information after failed mount system call.
warning: error(s) occurred while switching to the new configuration

and then in dmesg...

[  112.904983] systemd[1]: Mounting /lib/modules/5.15.153.1-microsoft-standard-WSL2...
[  112.906301] systemd[1]: Kernel Configuration File System was skipped because of an unmet condition check (ConditionPathExists=/sys/kernel/config).
[  112.908153] overlayfs: missing 'lowerdir'
[  112.908629] systemd[1]: lib-modules-5.15.153.1\x2dmicrosoft\x2dstandard\x2dWSL2.mount: Mount process exited, code=exited, status=32/n/a
[  112.909212] systemd[1]: lib-modules-5.15.153.1\x2dmicrosoft\x2dstandard\x2dWSL2.mount: Failed with result 'exit-code'.
[  112.909717] systemd[1]: Failed to mount /lib/modules/5.15.153.1-microsoft-standard-WSL2.
[  112.910085] systemd[1]: Dependency failed for Local File Systems.
[  112.910399] systemd[1]: local-fs.target: Job local-fs.target/start failed with result 'dependency'.
[  112.910827] systemd[1]: local-fs.target: Triggering OnFailure= dependencies.
[  112.911142] systemd[1]: local-fs.target: Failed to enqueue OnFailure=emergency.target job, ignoring: Unit emergency.target not found.
[  112.911957] systemd[1]: Update Boot Loader Random Seed was skipped because of an unmet condition check (ConditionVirtualization=!container).
[  112.912710] systemd[1]: Rebuild Journal Catalog was skipped because of an unmet condition check (ConditionNeedsUpdate=/var).
[  112.913389] systemd[1]: Save Transient machine-id to Disk was skipped because of an unmet condition check (ConditionPathIsMountPoint=/etc/machine-id).
[  112.913976] systemd[1]: Update is Completed was skipped because no trigger condition checks were met.
[  112.914455] systemd[1]: Kernel Auditing was skipped because of an unmet condition check (ConditionVirtualization=!container).
[  112.916920] systemd[1]: Starting Home Manager environment for rsmyth...
[  113.479923] systemd[1]: home-manager-rsmyth.service: Deactivated successfully.

(I think these are the relevant lines at least, let me know if any more is useful)
Google doesn't tell me much, I'm not really sure what lowerdir is.

21:22:20
@rosssmyth:matrix.orgrosssmythMy flake is here for reference. https://github.com/RossSmyth/nixos Nothing has change beyond the flake.lock in the past few months.21:23:58
@rosssmyth:matrix.orgrosssmyth* My flake is here for reference. https://github.com/RossSmyth/nixos Nothing has change beyond the flake.lock in the past few months, and I don't really bother pushing just lock file updates.21:24:21
6 Feb 2025
@rosssmyth:matrix.orgrosssmythoh I'm stupid ignore my messages 😓15:47:21
@ss:someonex.netSomeoneSerge (back on matrix) changed their display name from SomeoneSerge (Gand St. Pieters) to SomeoneSerge (UTC+U[-12,12]).17:49:11
7 Feb 2025
@nzbr:nzbr.denzbr (they/it) rosssmyth: I had looked at it, but could not figure out what could have happened here (my buest guess would have been that microsoft made another attempt at loadable kernel modules). At least I don't have to figure it out now 😅. Still I'm curious how that happened 08:53:52
@rosssmyth:matrix.orgrosssmythI did not type "sudo"17:49:56
@nzbr:nzbr.denzbr (they/it)oh well happens xD18:03:26
@mellow_yellow:matrix.org@mellow_yellow:matrix.org left the room.19:09:32
@terrorjack:matrix.terrorjack.com@terrorjack:matrix.terrorjack.com left the room.22:28:04
@terrorjack:matrix.orgterrorjack joined the room.22:45:21
8 Feb 2025
@terrorjack:matrix.orgterrorjack set a profile picture.02:24:26
@terrorjack:matrix.orgterrorjack removed their profile picture.02:25:00
@mwoodpatrickmx:matrix.orgmwoodpatrickmx

I'm having a problem adding quickgui to my NixOS flake its failing with:

	[   +5 ms] Failed obtaining PRETTY_NAME for Linux: PathNotFoundException: Cannot open file, path = '/usr/lib/os-release' (OS Error: No such file or directory, errno = 2)

Indeed the path /usr/lib/os-release does not exist on my NixOS install which is running as a WSL-2 distro. Should this file exist any suggestions as to why its missing or best way to debug?

12:46:18
@sandro:supersandro.deSandro 🐧There is no /usr/lib on NixOS12:55:35
@sandro:supersandro.deSandro 🐧os-release exists distro wide at /etc/os-release12:55:53
@mwoodpatrickmx:matrix.orgmwoodpatrickmxRunning qemu on wsl-2 using: nix run microvm#graphics neverball I'm getting the following errors does anyone have any suggestions on how to fix/debug: [2025-02-08T17:04:33.342691105+00:00 ERROR gpu_display::gpu_display_wl] missing interface linux_dmabuf [2025-02-08T17:04:33.342796044+00:00 ERROR devices::virtio::gpu] failed to open display: failed to connect to compositor [2025-02-08T17:04:33.342816203+00:00 ERROR devices::virtio::gpu] failed to open display: unsupported by the implementation 17:18:51

Show newer messages


Back to Room ListRoom Version: 9