From d99cb1e4553fd42110838d2191631f9ea9fc31e7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cyryl=20P=C5=82otnicki?= Date: Wed, 25 Aug 2021 11:04:39 +0100 Subject: [PATCH] add virtualbox --- nixos/boxes/foureighty/default.nix | 1 + nixos/virtualbox.nix | 3 +++ 2 files changed, 4 insertions(+) diff --git a/nixos/boxes/foureighty/default.nix b/nixos/boxes/foureighty/default.nix index 11e078ea..ade42dc5 100644 --- a/nixos/boxes/foureighty/default.nix +++ b/nixos/boxes/foureighty/default.nix @@ -13,6 +13,7 @@ ./tailscale-foureighty.nix ../../distributed-builds.nix ../../libvirt.nix + ../../virtualbox.nix ../../backups.nix ../../gui ../../i3 diff --git a/nixos/virtualbox.nix b/nixos/virtualbox.nix index 9f78c69b..0a07de21 100644 --- a/nixos/virtualbox.nix +++ b/nixos/virtualbox.nix @@ -1,6 +1,9 @@ { config, pkgs, ... }: { + nixpkgs.config.allowUnfree = true; virtualisation.virtualbox.host = { enable = true; + enableExtensionPack = true; }; + users.extraGroups.vboxusers.members = [ "cyryl" ]; }