My working Hyper-V config

In case anyone’s interested, here’s my working configuration.nix with NixOS on Hyper-V: My NixOS config using Hyper-V · GitHub. It does not use flakes; haven’t gotten around to using them yet. Hope this is the right place to post this.

All critiques/suggestions are most welcome.

1 Like

If it works, it works, but we do have a hyperv-guest module: https://github.com/NixOS/nixpkgs/blob/cff84a2086451a31a552a672da95f132bd7c10af/nixos/modules/virtualisation/hyperv-guest.nix

It does a few things that I don’t see in your config, you might want to take a peek.

2 Likes

Thanks a bunch for this, not sure how I missed it. I did find that I still needed to blacklist the hyperv_fb module to get a desktop to load; true on both Budgie and KDE.