!apXxbtexmNGJaAryzM:nixos.org

NixOS on WSL

284 Members
https://github.com/nix-community/NixOS-WSL56 Servers

Load older messages


SenderMessageTime
19 Oct 2024
@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
@mwoodpatrickmx:matrix.orgmwoodpatrickmxAny pointers to docs on doing this would be most appreciated13:27:33
@k900:0upti.meK900Doing what exactly?13:27:57
@mwoodpatrickmx:matrix.orgmwoodpatrickmxEnabling Hyper-V, best abstraction layers on top of KVM.13:30:21
@k900:0upti.meK900There are no abstraction layers on top of KVM13:31:45
@k900:0upti.meK900Your KVM is an abstraction on top of Hyper-V13:31:52
@k900:0upti.meK900Because WSL is a Hyper-V VM13:31:56
@k900:0upti.meK900https://learn.microsoft.com/en-us/virtualization/hyper-v-on-windows/about/13:32:10
@mwoodpatrickmx:matrix.orgmwoodpatrickmxMany thanks for the pointer, its been a while since I read that article. Any pointers to docs on running NixOS under Hyper-V?13:53:06
@k900:0upti.meK900I'm confused by what you're trying to do13:53:32
@k900:0upti.meK900WSL still works with Hyper-V13:53:38
@k900:0upti.meK900You probably want to run NixOS on WSL13:53:48
@k900:0upti.meK900And then run your other VMs, whatever those are, on "pure" Hyper-V13:54:00
@k900:0upti.meK900Instead of nesting them inside NixOS13:54:05
@k900:0upti.meK900* Instead of nesting them inside NixOS on WSL13:54:08
@mwoodpatrickmx:matrix.orgmwoodpatrickmxGetting experience using libvirt & virt-manager13:54:51
@k900:0upti.meK900 If you specifically want experience using libvirt, Hyper-V won't help you 13:55:25
@k900:0upti.meK900Because you'll be nesting VMs anyway13:55:31
@k900:0upti.meK900 The thing to avoid here is nesting VMs in general, not specifically nesting VMs inside WSL 13:55:43
@mwoodpatrickmx:matrix.orgmwoodpatrickmxMany thanks for the clarification13:57:08
@mwoodpatrickmx:matrix.orgmwoodpatrickmxHas anyone got a shared clipboard working between nixos host and vm guest? I did see the below issue but there was no resolution. https://discourse.nixos.org/t/how-can-i-get-a-shared-clipboard-for-nixos-virtual-machine-with-gnome/42615/514:27:50
@mwoodpatrickmx:matrix.orgmwoodpatrickmx * Has anyone got a shared clipboard working between nixos host and vm guest? I did see the below issue but there was no resolution. https://discourse.nixos.org/t/how-can-i-get-a-shared-clipboard-for-nixos-virtual-machine-with-gnome/42615/5 https://discourse.nixos.org/t/nixos-as-a-guest-os-in-qemu-kvm-how-to-share-clipboard-displaying-scaling-etc/8124/1015:10:13

There are no newer messages yet.


Back to Room ListRoom Version: 9