Commit def0c756ac19

Vincent Demeester <vincent@sbr.pm>
2017-07-01 13:08:34
Remove libvirtd as a dependency 👼
Signed-off-by: Vincent Demeester <vincent@sbr.pm>
1 parent 750b101
Changed files (2)
configuration
profiles
configuration/users.nix
@@ -7,7 +7,7 @@
 				isNormalUser = true;
 				uid = 1000;
 				createHome = true;
-				extraGroups = [ "networkmanager" "wheel" "docker" "vboxusers" "libvirtd" "input" "audio" "video" "scanner" ];
+				extraGroups = [ "networkmanager" "wheel" "docker" "vboxusers" "input" "audio" "video" "scanner" ];
 				shell = "/run/current-system/sw/bin/zsh";
 				initialPassword = "changeMe";
 				openssh.authorizedKeys.keys =
profiles/virtualization.nix
@@ -1,14 +1,11 @@
 # Virtualization configuration
-{ config, pkgs, ... }:
+{ config, lib, 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; [