From c06ec73de57ceadd432c775056ee22e2e1890c9b Mon Sep 17 00:00:00 2001 From: tdpeuter Date: Mon, 27 Mar 2023 08:46:32 +0200 Subject: [PATCH] Add virtualbox module --- nixos/modules/apps/virtualbox/default.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 nixos/modules/apps/virtualbox/default.nix diff --git a/nixos/modules/apps/virtualbox/default.nix b/nixos/modules/apps/virtualbox/default.nix new file mode 100644 index 0000000..8766028 --- /dev/null +++ b/nixos/modules/apps/virtualbox/default.nix @@ -0,0 +1,17 @@ +{ + + virtualisation.virtualbox = { + host = { + enable = true; + enableExtensionPack = true; + }; + guest = { + enable = true; + x11 = true; + }; + }; + users.extraGroups.vboxusers.members = [ + "user-with-access-to-virtualbox" + ]; + +}