diff --git a/hosts/yodaTux/configuration.nix b/hosts/yodaTux/configuration.nix index 355c890..4ff48cd 100644 --- a/hosts/yodaTux/configuration.nix +++ b/hosts/yodaTux/configuration.nix @@ -48,6 +48,7 @@ ../../modules/autostart.nix ../../modules/boxes.nix + #../../modules/virtualbox.nix ../../modules/jetbrains-ide.nix ../../modules/vscodium.nix ../../modules/android.nix diff --git a/modules/virtualbox.nix b/modules/virtualbox.nix new file mode 100644 index 0000000..331f42e --- /dev/null +++ b/modules/virtualbox.nix @@ -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; +}