oizys/modules/virtualization/virtualbox.nix

18 lines
329 B
Nix
Raw Normal View History

2024-03-12 10:00:05 -05:00
{
config,
lib,
pkgs,
...
}: let
inherit (lib) mkEnableOption mkIf;
cfg = config.oizys.vbox;
in {
options.oizys.vbox.enable = mkEnableOption "enable virtualbox host";
config = mkIf cfg.enable {
virtualisation.virtualbox = {
host.enable = true;
};
2024-01-23 11:51:13 -06:00
users.extraGroups.vboxusers.members = ["daylin"];
2024-03-12 10:00:05 -05:00
};
2024-01-23 11:51:13 -06:00
}