!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

314 Members
https://github.com/nix-community/NixOS-WSL50 Servers

Load older messages


SenderMessageTime
26 Mar 2025
@k900:0upti.meK900On SUSE it just creates /run/user/$uid as a mount point and systemd doesn't mount over it09:43:15
@k900:0upti.meK900OK goddammit12:45:37
@k900:0upti.meK900Lingering is just completely broken12:45:41
@k900:0upti.meK900And if we disable lingering, none of the user-runtime-dir hacks are necessary12:46:07
@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

Show newer messages


Back to Room ListRoom Version: 9