From 2c0b4e3bb6e820cc548b0fe21a6023890df88633 Mon Sep 17 00:00:00 2001 From: Luke Granger-Brown Date: Tue, 3 Nov 2020 16:03:22 +0000 Subject: [PATCH] porcorosso: add libvirtd --- ops/nixos/porcorosso/default.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ops/nixos/porcorosso/default.nix b/ops/nixos/porcorosso/default.nix index fa31c164e8..a18e396712 100644 --- a/ops/nixos/porcorosso/default.nix +++ b/ops/nixos/porcorosso/default.nix @@ -83,6 +83,11 @@ in { dockerCompat = true; }; + # Enable libvirtd. + virtualisation.libvirtd = { + enable = true; + }; + networking.hostName = "porcorosso"; networking.hostId = "1ee729a4"; @@ -145,7 +150,7 @@ in { # Define a user account. users.users.lukegb = { - extraGroups = [ "wheel" "networkmanager" ]; + extraGroups = [ "wheel" "networkmanager" "libvirtd" ]; }; my.home-manager.system = {...}: { home.packages = lib.mkAfter (with pkgs; [