diff --git a/services/virtualbox.nix b/services/virtualbox.nix new file mode 100644 index 0000000..95c32d1 --- /dev/null +++ b/services/virtualbox.nix @@ -0,0 +1,13 @@ +{ + config, + lib, + ... +}: +with lib; + +mkIf (elem "virtualbox" config.machine.services) { + virtualisation.virtualbox.host = { + enable = true; + headless = true; + }; +}