From a06aae723630fe14e0af6a6b9c128d67aca72129 Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Wed, 26 Dec 2018 01:00:34 +0100 Subject: feat(adho): Enable virtualbox & LXC --- adho-configuration.nix | 7 +++++++ configuration.nix | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/adho-configuration.nix b/adho-configuration.nix index 9134818d3adc..4498f0454979 100644 --- a/adho-configuration.nix +++ b/adho-configuration.nix @@ -15,6 +15,13 @@ services.avahi.enable = true; services.avahi.nssmdns = true; + # Enable VirtualBox to update Beatstep Pro firmware: + virtualisation.virtualbox.host.enable = true; + virtualisation.virtualbox.host.enableExtensionPack = true; + + # Enable LXC/LXD for Nixini work + virtualisation.lxd.enable = true; + # Give me more entropy: services.haveged.enable = true; diff --git a/configuration.nix b/configuration.nix index e4a9574292f2..02015cbf24c7 100644 --- a/configuration.nix +++ b/configuration.nix @@ -83,7 +83,7 @@ # Configure user account users.defaultUserShell = pkgs.fish; users.extraUsers.vincent = { - extraGroups = [ "wheel" "docker" ]; + extraGroups = [ "wheel" "docker" "vboxusers" "lxd" ]; isNormalUser = true; uid = 1000; shell = pkgs.fish; -- cgit 1.4.1