mirror of
https://github.com/anotherhadi/nixy.git
synced 2026-04-04 20:02:10 +02:00
@@ -41,6 +41,22 @@ in {
|
||||
true; # This can cause sleep/suspend to fail and saves entire VRAM to /tmp/
|
||||
modesetting.enable = true;
|
||||
package = nvidiaDriverChannel;
|
||||
|
||||
prime = {
|
||||
offload = {
|
||||
enable = true;
|
||||
enableOffloadCmd = true;
|
||||
};
|
||||
|
||||
# sync.enable = true;
|
||||
|
||||
# CHANGEME: Change those values to match your hardware (if prime is imported)
|
||||
amdgpuBusId =
|
||||
"PCI:5:0:0"; # Set this to the bus ID of your AMD GPU if you have one
|
||||
# intelBusId = "PCI:0:2:0"; # Set this to the bus ID of your Intel GPU if you have one
|
||||
nvidiaBusId =
|
||||
"PCI:1:0:0"; # Set this to the bus ID of your Nvidia GPU if you have one
|
||||
};
|
||||
};
|
||||
graphics = {
|
||||
enable = true;
|
||||
@@ -55,4 +71,5 @@ in {
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user