mirror of
https://codeberg.org/privacy1st/nix-git
synced 2024-11-21 22:03:19 +01:00
add virtualbox
This commit is contained in:
parent
d83a2191c2
commit
0caac714fb
@ -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
16
modules/virtualbox.nix
Normal 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;
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user