summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortriethyl <triethylammonium@pm.me>2025-08-30 11:10:35 -0400
committertriethyl <triethylammonium@pm.me>2025-08-30 11:10:35 -0400
commit309fa304ac7d509b7316e98b56da801876bb6a74 (patch)
treefa6ce6ba269b586da7f99de10c5c8ba00738ef0d
parent97799fa0927ca00e12f055df95fa87c71ff2e9fb (diff)
features: added virtualbox
-rw-r--r--features/system/gui/apps/virtualbox.nix8
-rw-r--r--systems/nzxt-desktop/system.nix4
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;