about summary refs log tree commit diff
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2018-12-26T00·00+0100
committerVincent Ambo <mail@tazj.in>2018-12-26T00·01+0100
commita06aae723630fe14e0af6a6b9c128d67aca72129 (patch)
tree0b743869d3bcece8e8a8cd281286013150896904
parent54d56a39a6a2cd2f52723c02b4ccadda29cc82ea (diff)
feat(adho): Enable virtualbox & LXC
-rw-r--r--adho-configuration.nix7
-rw-r--r--configuration.nix2
2 files changed, 8 insertions, 1 deletions
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;