nix/modules/services/virt/virtual-box/default.nix

14 lines
203 B
Nix
Raw Normal View History

2024-11-24 20:15:38 +01:00
{
lib,
config,
...
}: {
options = {
virtual-box.enable = lib.mkEnableOption "";
};
config = lib.mkIf config.virtual-box.enable {
virtualisation.virtualbox.host.enable = true;
};
}