From 66a6fa05a262f4909660ca0a26fd9bf278d4f385 Mon Sep 17 00:00:00 2001 From: Geir Okkenhaug Jerstad Date: Fri, 2 Aug 2024 22:06:05 +0200 Subject: [PATCH] added libvirt to laptop --- laptop/configuration.nix | 1 + laptop/libvirt.nix | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 laptop/libvirt.nix diff --git a/laptop/configuration.nix b/laptop/configuration.nix index deaff3d..5310c15 100644 --- a/laptop/configuration.nix +++ b/laptop/configuration.nix @@ -15,6 +15,7 @@ ./tail.nix ./podman.nix ./incus.nix + ./libvirt.nix ]; # Bootloader. diff --git a/laptop/libvirt.nix b/laptop/libvirt.nix new file mode 100644 index 0000000..a39d094 --- /dev/null +++ b/laptop/libvirt.nix @@ -0,0 +1,9 @@ +{ config, pkgs, ... }: +{ + virtualisation.libvirtd.enable = true; + environment.systemPackages = with pkgs; [ + qemu_kvm + libvirt + polkit + ]; +}