nixos/services/virtualbox.nix
2024-12-21 14:07:48 +01:00

13 lines
174 B
Nix

{
config,
lib,
...
}:
with lib;
mkIf (elem "virtualbox" config.machine.services) {
virtualisation.virtualbox.host = {
enable = true;
headless = true;
};
}