From 309fa304ac7d509b7316e98b56da801876bb6a74 Mon Sep 17 00:00:00 2001 From: triethyl Date: Sat, 30 Aug 2025 11:10:35 -0400 Subject: features: added virtualbox --- features/system/gui/apps/virtualbox.nix | 8 ++++++++ systems/nzxt-desktop/system.nix | 4 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) create mode 100644 features/system/gui/apps/virtualbox.nix 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; -- cgit v1.2.3