summaryrefslogtreecommitdiff
path: root/hosts
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2025-01-24 09:24:59 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2025-01-24 09:24:59 +0100
commit24825b6afac2551c1303cd2f84276be47b845f31 (patch)
tree425ff5c6939690d30d088be18365cc22f9095c50 /hosts
parent08414045a56517d95e94f55c406ec8940336c6c7 (diff)
downloadnixos-24825b6afac2551c1303cd2f84276be47b845f31.tar
nixos-24825b6afac2551c1303cd2f84276be47b845f31.tar.gz
nixos-24825b6afac2551c1303cd2f84276be47b845f31.tar.bz2
nixos-24825b6afac2551c1303cd2f84276be47b845f31.tar.xz
nixos-24825b6afac2551c1303cd2f84276be47b845f31.zip
...
Diffstat (limited to 'hosts')
-rw-r--r--hosts/sif/default.nix14
-rw-r--r--hosts/sif/libvirt/default.nix1
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;