!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

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

Load older messages


SenderMessageTime
11 Oct 2024
@shard7:matrix.orgshardAnd from what I saw, VcXsrv is faster too17:26:03
12 Oct 2024
@98765abc:mozilla.org98765abcdid u disable networking.firewall.enable?03:20:01
13 Oct 2024
@philthompson:envs.netphilthompson joined the room.11:51:19
@philthompson:envs.netphilthompsonHey people, been using NixOS for about a year now. However, no matter how hard I try I can't leave Windows (yet). I don't use Home Manager or Flakes. I read somewhere that support for using a channel for NixOS-WSL has been implemented but I can't find the URL. So my question is, can I add the (if it exists) NixOS-WSL channel to my existing NixOS configuration and be able to build a tar.gz that I can chuck into WSL? Granted I'll need a custom build tailored for WSL but it'd be great to get some of the config I've spent a year tweaking into Windows. Also, would the NixOS-WSL build that targets NixPkgs 24.05 work with my NixOS configuration that currently targets unstable or do I need to match the version?12:04:15
@k900:0upti.meK900Just grab the existing tarball12:10:52
@k900:0upti.meK900It has a channel setup12:10:55
@k900:0upti.meK900It does work on unstable12:11:02
@docbrown101:matrix.orgDaniel joined the room.13:46:42
@philthompson:envs.netphilthompson
In reply to @k900:0upti.me
It does work on unstable
Thanks. I guess I need to learn a bit more about channels.
14:06:08
@k900:0upti.meK900You shouldn't need to?14:06:37
@k900:0upti.meK900Just use the default tarball from CI14:06:44
@k900:0upti.meK900And then copy your config in14:06:48
@philthompson:envs.netphilthompsonAh okay. Didn't realise it was that simple. The Flu is affecting my brain. Cheers.14:07:26
16 Oct 2024
@shafael170:matrix.org@shafael170:matrix.org joined the room.05:37:30
17 Oct 2024
@ajhalili2006:envs.net~ajhalili2006 [ ctrl-c.club / sr.ht / vern.cc ] changed their display name from ~ajhalili2006 [ recaptime.dev / sr.ht / tildeverse ] to ~ajhalili2006 [tildeverse / backup of @ajhalili2006:andreijiroh.dev].03:36:22
19 Oct 2024
@mwoodpatrickmx:matrix.orgmwoodpatrickmxI'm running NixOS on WSL and experimenting running VM's under my NixOS. I have virt-manager installed and am able to create some basic VM's running. I would appreciate any pointers to docs or info on best practices when running virt-manager & libvirtd on NixOS under WSL-2. Especially any issues related to doing this under WSL-2.13:14:28
@k900:0upti.meK900Don't, generally13:17:56
@k900:0upti.meK900Nested virt is pretty slow even on a good day13:18:03
@k900:0upti.meK900And you have Hyper-V right there13:18:07
@mwoodpatrickmx:matrix.orgmwoodpatrickmx

And you have Hyper-V right there

Can you elaborate

13:21:51
@nzbr:nzbr.denzbr (they/it) From my experience: It does work (used it to run https://github.com/foxlet/macOS-Simple-KVM) but it frequently crashed Hyper-V for me. At least that's what I assume happened - The screen just went black and it rebooted, not even a BSOD
That was on an insider build through, so it might be less crash-prone now
13:21:59
@k900:0upti.meK900
In reply to@mwoodpatrickmx:matrix.org

And you have Hyper-V right there

Can you elaborate

Like, WSL is just a Hyper-V VM
13:23:21
@k900:0upti.meK900You can enable Hyper-V proper13:23:25
@nzbr:nzbr.denzbr (they/it)Hyper-V itself isn't that great of a experience if you want to do anything with a GUI IMHO. But VMware workstation is free for personal use now and works pretty great even with Hyper-V enabled if you don't mind using a proprietary solution13:23:25
@k900:0upti.meK900 And run WSL and "big" Hyper-V VMs 13:23:32
@mwoodpatrickmx:matrix.orgmwoodpatrickmxI would prefer to use an Open source solution13:25:17
@k900:0upti.meK900You're on Windows13:26:04
@mwoodpatrickmx:matrix.orgmwoodpatrickmxI'm running on my Windows 11 laptop (64GB)13:26:15
@k900:0upti.meK900Your "open source solution" is just Hyper-V through an abstraction layer13:26:19
@k900:0upti.meK900So skip the abstraction layer and just run Hyper-V13:26:28

Show newer messages


Back to Room ListRoom Version: 9