refactor variables & theme

Former-commit-id: 276756d998
This commit is contained in:
Hadi
2025-03-04 20:58:20 +01:00
parent b314c9648f
commit 4d80db7ccb
17 changed files with 68 additions and 125 deletions

View File

@@ -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 {
];
};
};
}