🐛 make virtualbox work again
This commit is contained in:
parent
009567e423
commit
ca763d0077
2 changed files with 8 additions and 4 deletions
|
@ -14,10 +14,13 @@ with lib;
|
||||||
|
|
||||||
config = mkIf config.components.virtualisation.virtualbox.enable {
|
config = mkIf config.components.virtualisation.virtualbox.enable {
|
||||||
|
|
||||||
virtualisation.virtualbox = {
|
virtualisation.virtualbox.host.enable = true;
|
||||||
host.enable = true;
|
virtualisation.virtualbox.host.enableExtensionPack = true;
|
||||||
guest.enable = true;
|
virtualisation.virtualbox.guest.enable = true;
|
||||||
};
|
virtualisation.virtualbox.guest.dragAndDrop = true;
|
||||||
|
|
||||||
|
# https://discourse.nixos.org/t/issue-with-virtualbox-in-24-11/57607/2
|
||||||
|
boot.kernelParams = [ "kvm.enable_virt_at_load=0" ];
|
||||||
|
|
||||||
users.extraGroups.vboxusers.members = [ config.users.users.mainUser.name ];
|
users.extraGroups.vboxusers.members = [ config.users.users.mainUser.name ];
|
||||||
|
|
||||||
|
|
|
@ -46,6 +46,7 @@
|
||||||
# (promptKey "pushover.api_key");
|
# (promptKey "pushover.api_key");
|
||||||
|
|
||||||
components.virtualisation.enable = true;
|
components.virtualisation.enable = true;
|
||||||
|
components.virtualisation.qemu.enable = false;
|
||||||
|
|
||||||
components.gui.enable = true;
|
components.gui.enable = true;
|
||||||
#components.gui.audio.enable = false;
|
#components.gui.audio.enable = false;
|
||||||
|
|
Loading…
Add table
Reference in a new issue