From e1c81e534760b79860df5d0ffcd623c6e1554492 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Leonardo=20Eug=C3=AAnio?= Date: Sun, 22 Feb 2026 09:42:47 -0300 Subject: [PATCH] containers: install libvirt --- system/containers.nix | 4 ++++ system/users.nix | 2 ++ 2 files changed, 6 insertions(+) diff --git a/system/containers.nix b/system/containers.nix index dfa5bf0..c1f8a88 100644 --- a/system/containers.nix +++ b/system/containers.nix @@ -48,5 +48,9 @@ programs.extra-container.enable = true; programs.firejail.enable = true; + + virtualisation.libvirtd.enable = true; + environment.systemPackages = with pkgs; [ dnsmasq ]; + networking.firewall.trustedInterfaces = [ "virbr0" ]; }; } diff --git a/system/users.nix b/system/users.nix index 4528a6a..c1a1039 100644 --- a/system/users.nix +++ b/system/users.nix @@ -20,6 +20,8 @@ "corectrl" "vboxusers" "input" + "libvirtd" + "kvm" ]; shell = pkgs.fish; openssh.authorizedKeys.keys = [