add virtualbox

This commit is contained in:
Daniel Langbein 2024-01-23 17:45:30 +01:00
parent d83a2191c2
commit 0caac714fb
Signed by: langfingaz
GPG Key ID: 6C47C753F0823002
2 changed files with 17 additions and 0 deletions

View File

@ -48,6 +48,7 @@
../../modules/autostart.nix ../../modules/autostart.nix
../../modules/boxes.nix ../../modules/boxes.nix
#../../modules/virtualbox.nix
../../modules/jetbrains-ide.nix ../../modules/jetbrains-ide.nix
../../modules/vscodium.nix ../../modules/vscodium.nix
../../modules/android.nix ../../modules/android.nix

16
modules/virtualbox.nix Normal file
View File

@ -0,0 +1,16 @@
{ config, pkgs, ... }:
{
# https://nixos.wiki/wiki/VirtualBox
# VirtualBox
virtualisation.virtualbox.host.enable = true;
users.extraGroups.vboxusers.members = [ "yoda" ];
# Oracle Extensions
# Warning: Host extensions cause frequent recompilation. If USB forwarding is only advanced feature used in virtualization, then consider using an open-source virtualization solution such as GNOME Boxes or Virt-manager.
virtualisation.virtualbox.host.enableExtensionPack = true;
# Guest Additions
#virtualisation.virtualbox.guest.enable = true;
#virtualisation.virtualbox.guest.x11 = true;
}