From addff6482c391e4c2094baafdc3d05f65d288bb8 Mon Sep 17 00:00:00 2001 From: Stefan Junker Date: Thu, 14 Jul 2016 10:26:26 -0700 Subject: [PATCH] steveel-laptop: add virtualisation options/pkgs --- configuration/steveej-laptop/pkg.nix | 3 +++ configuration/steveej-laptop/system.nix | 10 +++++++--- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/configuration/steveej-laptop/pkg.nix b/configuration/steveej-laptop/pkg.nix index 0af582e..f273b23 100644 --- a/configuration/steveej-laptop/pkg.nix +++ b/configuration/steveej-laptop/pkg.nix @@ -112,6 +112,9 @@ in x11_ssh_askpass gnome3.dconf # needed by virtmanager virtmanager + linuxPackages.virtualbox + qemu + vagrant vlc audacity diff --git a/configuration/steveej-laptop/system.nix b/configuration/steveej-laptop/system.nix index 68a283b..d955502 100644 --- a/configuration/steveej-laptop/system.nix +++ b/configuration/steveej-laptop/system.nix @@ -165,7 +165,11 @@ }; # virtualization - virtualisation.libvirtd.enable = true; - virtualisation.virtualbox.host.enable = true; - virtualisation.virtualbox.host.addNetworkInterface = true; + virtualisation = { + libvirtd.enable = true; + virtualbox = { + host.enable = true; + host.addNetworkInterface = true; + }; + }; }