From 9f1e419fa3ae601f4c889cd96b0702c6f91a443e Mon Sep 17 00:00:00 2001 From: Petru Paler Date: Mon, 16 Sep 2024 13:50:47 +0100 Subject: [PATCH] Enable libvirtd on chilly. --- hosts/chilly/default.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/hosts/chilly/default.nix b/hosts/chilly/default.nix index b2bc848..cfb21b4 100644 --- a/hosts/chilly/default.nix +++ b/hosts/chilly/default.nix @@ -21,4 +21,12 @@ networking.hostName = "chilly"; services.tailscaleAutoconnect.authkey = "tskey-auth-kRXS9oPyPm11CNTRL-BE6YnbP9J6ZZuV9dHkX17ZMnm1JGdu93"; services.consul.interface.advertise = lib.mkForce "enp1s0"; + + virtualisation.libvirtd.enable = true; + environment.systemPackages = with pkgs; [ + virt-manager + usbutils + ]; + + users.users.ppetru.extraGroups = [ "libvirtd" ]; }