From efe1adadb8f1a482d047be7d4b3b739049da2297 Mon Sep 17 00:00:00 2001 From: derped Date: Sat, 14 Dec 2024 22:00:03 +0100 Subject: [PATCH] virt: add virtualbox --- services/virtualbox.nix | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 services/virtualbox.nix diff --git a/services/virtualbox.nix b/services/virtualbox.nix new file mode 100644 index 0000000..95c32d1 --- /dev/null +++ b/services/virtualbox.nix @@ -0,0 +1,13 @@ +{ + config, + lib, + ... +}: +with lib; + +mkIf (elem "virtualbox" config.machine.services) { + virtualisation.virtualbox.host = { + enable = true; + headless = true; + }; +}