!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

338 Members
https://github.com/nix-community/NixOS-WSL58 Servers

Load older messages


SenderMessageTime
26 Mar 2025
@k900:0upti.meK900So yeah https://github.com/nix-community/NixOS-WSL/pull/64812:49:44
28 Mar 2025
@nzbr:nzbr.denzbr (they/it) So what I take from this is that Microsoft seem to have "fixed" it more properly now?
Because both systemctl --user and wayland seem to work now (without lingering that is)
01:13:57
@k900:0upti.meK900 Yes, and I think they actually fixed it a while ago 06:30:34
@k900:0upti.meK900And my testing was all fucked up because of lingering06:30:40
@nzbr:nzbr.denzbr (they/it)Ahh, makes sense10:31:11
@amihsekai:matrix.orgthou-vow joined the room.20:17:50
@amihsekai:matrix.orgthou-vowHello, I want to start using NixOS WSL20:19:07
@k900:0upti.meK900Hello, the Guild authorizes you 20:20:03
@amihsekai:matrix.orgthou-vowMy usual NixOS configuration ranges from boot to user settings20:20:03
@amihsekai:matrix.orgthou-vowThe WSL config should kinda reflect my NixOS config, but I'm not sure what I should pass to it...20:21:27
@k900:0upti.meK900Well what do you want to configure? 20:22:05
@k900:0upti.meK900All of the same options work 20:22:22
@k900:0upti.meK900It's mostly normal NixOS20:22:27
@k900:0upti.meK900The things that don't work will usually fail with somewhat descriptive errors 20:22:40
@amihsekai:matrix.orgthou-vowI see20:22:54
@k900:0upti.meK900If you have specific questions, feel free to ask 20:24:58
@amihsekai:matrix.orgthou-vowThank you20:29:04
@amihsekai:matrix.orgthou-vowI wonder how portable it can be20:59:47
@amihsekai:matrix.orgthou-vowBecause I intend on using the same config in several machines21:00:41
@k900:0upti.meK900
In reply to @amihsekai:matrix.org
Because I intend on using the same config in several machines
That's the wrong approach
21:09:37
@k900:0upti.meK900What you want to do is move your common config bits into modules21:09:48
@k900:0upti.meK900And then import those in your machine specific configs21:09:55
@k900:0upti.meK900There will always be a machine specific component, you can't abstract that away 21:10:09
@amihsekai:matrix.orgthou-vowI don't really have a specific number of machines21:12:01
@amihsekai:matrix.orgthou-vowMaybe I can import /etc/nixos/hardware-configuration.nix within my flake?21:15:03
@andrewca:matrix.orgAndrew Carter joined the room.23:00:00
@andrewca:matrix.orgAndrew Carter I'm trying out NixOS WSL on an Windows 11 Arm machine. I'm getting [nixos@nixos:~]$ sudo nix-channel --update cannot get capabilities for /proc/self/exe: Not supported when I try to do an update. In fact, any sudo does this. I've not seen an error like this before. Is NixOS supported on Arm? 23:02:51
29 Mar 2025
@k900:0upti.meK900 NixOS is supported, but I don't think we build nixos-wsl tarballs for it? 04:25:36
@k900:0upti.meK900But it should fundamentally be possible04:25:40
@k900:0upti.meK900Just that no one has the hardware to test it and keep it working04:25:50

Show newer messages


Back to Room ListRoom Version: 9