diff options
Diffstat (limited to 'hosts')
-rw-r--r-- | hosts/sif/default.nix | 14 | ||||
-rw-r--r-- | hosts/sif/libvirt/default.nix | 1 |
2 files changed, 8 insertions, 7 deletions
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 { | |||
591 | nvidia = { | 591 | nvidia = { |
592 | open = true; | 592 | open = true; |
593 | modesetting.enable = true; | 593 | modesetting.enable = true; |
594 | powerManagement.enable = false; | 594 | powerManagement.enable = true; |
595 | prime = { | 595 | # prime = { |
596 | nvidiaBusId = "PCI:1:0:0"; | 596 | # nvidiaBusId = "PCI:1:0:0"; |
597 | intelBusId = "PCI:0:2:0"; | 597 | # intelBusId = "PCI:0:2:0"; |
598 | reverseSync.enable = true; | 598 | # reverseSync.enable = true; |
599 | offload.enableOffloadCmd = true; | 599 | # offload.enableOffloadCmd = true; |
600 | }; | 600 | # }; |
601 | }; | 601 | }; |
602 | 602 | ||
603 | graphics = { | 603 | 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; | |||
8 | qemu.swtpm.enable = true; | 8 | qemu.swtpm.enable = true; |
9 | allowedBridges = ["virbr0" "rz-0971" "rz-2403"]; | 9 | allowedBridges = ["virbr0" "rz-0971" "rz-2403"]; |
10 | }; | 10 | }; |
11 | virtualisation.spiceUSBRedirection.enable = true; | ||
11 | virtualisation.libvirt = { | 12 | virtualisation.libvirt = { |
12 | enable = true; | 13 | enable = true; |
13 | swtpm.enable = true; | 14 | swtpm.enable = true; |