Added virtualbox for vms

This commit is contained in:
2025-10-14 14:49:39 -04:00
parent 9bdde29763
commit b6f94d5044
3 changed files with 12 additions and 0 deletions

View File

@@ -1,8 +1,10 @@
{
config,
...
}:
{
boot = {
extraModulePackages = with config.boot.kernelPackages; [ virtualbox ];
loader = {
systemd-boot = {
enable = true;
@@ -10,5 +12,6 @@
};
efi.canTouchEfiVariables = true;
};
kernelParams = [ "kvm.enable_virt_at_load=0" ];
};
}

View File

@@ -14,5 +14,6 @@
./system.nix
./tailscale.nix
./user.nix
./virtualisation.nix
];
}

View File

@@ -0,0 +1,8 @@
{
...
}:
{
virtualisation.virtualbox.host.enable = true;
virtualisation.virtualbox.host.enableExtensionPack = true;
users.extraGroups.vboxusers.members = [ "eclypse" ];
}