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

libvirtd-hooks: handle "enable" option for hooks #2

Closed j-brn closed 1 year ago

j-brn commented 1 year ago

All hooks have an "enable" option. If "enable" is set to false, then then hook should not be linked to the libvirtd hook directory.