diff options
| -rw-r--r-- | features/system/gui/apps/virtualbox.nix | 8 | ||||
| -rw-r--r-- | systems/nzxt-desktop/system.nix | 4 |
2 files changed, 10 insertions, 2 deletions
diff --git a/features/system/gui/apps/virtualbox.nix b/features/system/gui/apps/virtualbox.nix new file mode 100644 index 0000000..0b633c7 --- /dev/null +++ b/features/system/gui/apps/virtualbox.nix @@ -0,0 +1,8 @@ +{ config, lib, ... }: let + cfg = config.features.gui.apps.virtualbox; +in { + options.features.gui.apps.virtualbox.enable = lib.mkEnableOption "virtualbox"; + config = lib.mkIf cfg.enable { + virtualisation.virtualbox.host.enable = true; + }; +} diff --git a/systems/nzxt-desktop/system.nix b/systems/nzxt-desktop/system.nix index 2f224fa..db42aa1 100644 --- a/systems/nzxt-desktop/system.nix +++ b/systems/nzxt-desktop/system.nix @@ -19,7 +19,8 @@ "wheel" "audio" "video" - "libvirtd" + "libvirtd" # VmWare User + "vboxusers" # Virtualbox user ]; }; @@ -27,7 +28,6 @@ gui = { apps = { steam.enable = true; - vmware.enable = false; }; desktops = { niri.enable = true; |
