virt-manager stuff (untested)

This commit is contained in:
xunuwu 2024-06-15 11:53:03 +02:00
parent 1b1179c76b
commit cc83f63010
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI
3 changed files with 9 additions and 0 deletions

View file

@ -50,6 +50,7 @@ in {
"${mod}/services/virt/podman.nix"
"${mod}/services/virt/waydroid.nix"
"${mod}/services/virt/distrobox.nix"
"${mod}/services/virt/virt-manager.nix"
#"${mod}/services/ollama.nix"
"${mod}/desktop/x11/nosleep.nix"

View file

@ -6,6 +6,8 @@
extraGroups = [
"wheel"
"input"
"kvm"
"libvirt"
"video"
"render"
"audio"

View file

@ -0,0 +1,6 @@
{pkgs, ...}: {
virtualisation.libvirtd.enable = true;
programs.virt-manager.enable = true;
boot.kernelParams = ["amd_iommu=on" "iommu=pt"];
environment.systemPackages = [pkgs.libvirt];
}