From 24825b6afac2551c1303cd2f84276be47b845f31 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 24 Jan 2025 09:24:59 +0100 Subject: ... --- hosts/sif/default.nix | 14 +++++++------- hosts/sif/libvirt/default.nix | 1 + 2 files changed, 8 insertions(+), 7 deletions(-) (limited to 'hosts/sif') diff --git a/hosts/sif/default.nix b/hosts/sif/default.nix index 7db46c67..9de16de3 100644 --- a/hosts/sif/default.nix +++ b/hosts/sif/default.nix @@ -591,13 +591,13 @@ in { nvidia = { open = true; modesetting.enable = true; - powerManagement.enable = false; - prime = { - nvidiaBusId = "PCI:1:0:0"; - intelBusId = "PCI:0:2:0"; - reverseSync.enable = true; - offload.enableOffloadCmd = true; - }; + powerManagement.enable = true; + # prime = { + # nvidiaBusId = "PCI:1:0:0"; + # intelBusId = "PCI:0:2:0"; + # reverseSync.enable = true; + # offload.enableOffloadCmd = true; + # }; }; graphics = { diff --git a/hosts/sif/libvirt/default.nix b/hosts/sif/libvirt/default.nix index d0be7dff..9712d0d9 100644 --- a/hosts/sif/libvirt/default.nix +++ b/hosts/sif/libvirt/default.nix @@ -8,6 +8,7 @@ with flakeInputs.nixVirt.lib; qemu.swtpm.enable = true; allowedBridges = ["virbr0" "rz-0971" "rz-2403"]; }; + virtualisation.spiceUSBRedirection.enable = true; virtualisation.libvirt = { enable = true; swtpm.enable = true; -- cgit v1.2.3