Commit 66559d76d5ca

Vincent Demeester <vincent@sbr.pm>
2017-08-01 21:39:07
Revert "Remove libvirtd as a dependency 👼"
This reverts commit def0c756ac1923220facdcb4467d941036484150.
1 parent 96f0f2e
Changed files (2)
configuration
profiles
configuration/users.nix
@@ -7,7 +7,7 @@
 				isNormalUser = true;
 				uid = 1000;
 				createHome = true;
-				extraGroups = [ "networkmanager" "wheel" "docker" "vboxusers" "input" "audio" "video" "scanner" ];
+				extraGroups = [ "networkmanager" "wheel" "docker" "vboxusers" "libvirtd" "input" "audio" "video" "scanner" ];
 				shell = "/run/current-system/sw/bin/zsh";
 				initialPassword = "changeMe";
 				openssh.authorizedKeys.keys =
profiles/virtualization.nix
@@ -1,11 +1,14 @@
 # Virtualization configuration
-{ config, lib, pkgs, ... }:
+{ config, pkgs, ... }:
 
 {
 	virtualisation = {
 		virtualbox.host.enable = true;
+		libvirtd = {
+			enable = true;
+			enableKVM = true;
+		};
 	};
-	boot.kernelModules = lib.mkBefore [ "kvm-intel" ];
 	networking.firewall.trustedInterfaces = [ "vboxnet0" ];
 	environment = {
 		systemPackages = with pkgs; [