virt: add virtualbox

This commit is contained in:
Kevin Baensch 2024-12-14 22:00:03 +01:00
parent 83c3ea02b6
commit efe1adadb8
Signed by: derped
GPG key ID: C0F1D326C7626543

13
services/virtualbox.nix Normal file
View file

@ -0,0 +1,13 @@
{
config,
lib,
...
}:
with lib;
mkIf (elem "virtualbox" config.machine.services) {
virtualisation.virtualbox.host = {
enable = true;
headless = true;
};
}