!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

346 Members
https://github.com/nix-community/NixOS-WSL61 Servers

Load older messages


SenderMessageTime
14 Mar 2023
@nzbr:nzbr.deArson Copperflame
In reply to @k900:0upti.me
You could also set them manually, but generally it might be a better idea to run unstable, as that's what nixos-wsl is mostly tested against
Is it? All the tests run against stable and that's what I'm running as well. It's probably true for anything related to nativeSystemd though, because we can't run the tests against that (yet)
16:26:50
@sandro:supersandro.deSandro 🐧We should disable udev again. It draws in a lot https://github.com/NixOS/nixpkgs/blob/nixos-unstable/nixos/modules/services/hardware/udev.nix#L355-L45516:27:18
@sandro:supersandro.deSandro 🐧
etc-firmware.conf: βˆ… β†’ Ξ΅
extra-hwdb: βˆ… β†’ Ξ΅
extra-udev: βˆ… β†’ Ξ΅
firmware: βˆ… β†’ Ξ΅, +124.6 KiB
hwdb.bin: βˆ… β†’ Ξ΅, +9532.2 KiB
intel2200BGFirmware: βˆ… β†’ 3.1, +213.3 KiB
ipv6-privacy-extensions.rules: βˆ… β†’ Ξ΅
linux-firmware: βˆ… β†’ 20230210, +368294.5 KiB
rt5677-firmware: βˆ… β†’ Ξ΅, +169.9 KiB
rtl8192su: βˆ… β†’ unstable-2016-10-05, +274.2 KiB
rtw88-firmware: βˆ… β†’ unstable-2022-11-05, +298.2 KiB
udev: βˆ… β†’ Ξ΅, +141.1 KiB
unit-systemd-oomd.service: Ξ΅ β†’ βˆ…
unit-systemd-udevd.service: βˆ… β†’ Ξ΅
wireless-regdb: βˆ… β†’ 2023.02.13
zd1211-firmware: βˆ… β†’ 1.5, +61.8 KiB
16:28:26
@sandro:supersandro.deSandro 🐧thats like 350MB which we mostly don't need16:30:00
@k900:0upti.meK900We can just disable firmware instead17:28:10
15 Mar 2023
@sorm_cha:matrix.orgsorm_cha joined the room.14:07:05
@sandro:supersandro.deSandro 🐧https://github.com/microsoft/WSL/releases/tag/1.1.5#:~:text=Do%20not%20mount%20cgroup%20v1%20for%20WSL214:19:03
@sandro:supersandro.deSandro 🐧
In reply to @k900:0upti.me
We can just disable firmware instead
that is not that easy because it is all gated behind udev
14:19:13
@colamaroro:lovelyrad.iocolamaroro joined the room.14:43:35
16 Mar 2023
@k900:0upti.meK900No it's not17:43:09
@k900:0upti.meK900 hardware.firmware = mkForce [] 17:43:13
@k900:0upti.meK900(sorry completely missed the message)17:43:25
17 Mar 2023
@sandro:supersandro.deSandro 🐧I don't want to do that because undoing it is way harder than enabling udev01:52:21
18 Mar 2023
@greg:thehellings.comgreg set their display name to greg.18:36:11
21 Mar 2023
@sandro:supersandro.deSandro 🐧 What to do when dig domain A returns not only the IP of the A record but also the A records of the ADDITIONAL ANSWER section? 13:01:53
@sandro:supersandro.deSandro 🐧I have some ✨nice dns servers✨ which think that this is necessary 13:02:16
@sandro:supersandro.deSandro 🐧 * What to do when dig domain A returns not only the IP of the A record but also the A records of the ADDITIONAL ANSWER section and every program treats it as valid round robin addresses? 13:03:16
@houstdav000:gh0st.ems.hostCynthia Checking the manpage, you might be able to use dig <domain> A +noadditional 13:30:45
@houstdav000:gh0st.ems.hostCynthia I do not, however, see a way in the manpage to set it for systemd-resolved, which is probably what you'd have to set to get other programs to behave... 13:37:03
@sandro:supersandro.deSandro 🐧https://github.com/microsoft/WSL/issues/5806 probably better describes it15:53:55
@sandro:supersandro.deSandro 🐧it mashes the two sections together to one15:54:05
@houstdav000:gh0st.ems.hostCynthiaWow, Microsoft baked a DNS server into the network adapter? TIL... and that's horrifying15:57:40
@sandro:supersandro.deSandro 🐧Something HyperV and sometimes it falls over16:06:35
@nzbr:nzbr.deArson CopperflameThe DNS Server is somewhere in Hyper-Vs network stack, not the driver. I believe other Hypervisors do it in a similar fashion16:16:01
@sandro:supersandro.deSandro 🐧I would just use some other DNS server but I need some IPs only available locally16:18:08
@nzbr:nzbr.deArson Copperflame Sandro 🐧: I don't know if that helps you, but I run Tailscale on Windows and have NixOS use 100.100.100.100 as the DNS so I'm not affected by that 16:21:15
@sandro:supersandro.deSandro 🐧I could tinker with something like that but it probably falls apart again. I had so much trouble with DNS already.16:22:16
@nzbr:nzbr.deArson CopperflameOr just set it to something like 8.8.8.8 if you can live without local host names16:26:23
@sandro:supersandro.deSandro 🐧thats the problem, I cannot16:44:05
@nzbr:nzbr.deArson CopperflameIs the machine portable? If no, you could set it to your router's IP16:44:32

Show newer messages


Back to Room ListRoom Version: 9