j-brn / nixos-vfio

NixOS modules to automate vfio setups
https://j-brn.github.io/nixos-vfio/
MIT License
33 stars 7 forks source link

Add option to add additional custom xml into `<devices>` section #81

Closed glanch closed 6 months ago

glanch commented 6 months ago

The current domain configuration generation mechanism is not able to generate all possible device types. To (temporarily) overcome this limitation, this PR adds an option to pass custom raw XML to the <devices> section of the generated domain configuration.

The changes should probably be reverted after #60 was implemented.