oizys/modules/virtualization/virtualbox.nix

18 lines
330 B
Nix
Raw Normal View History

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