direnv and devenv integrated support experimental nginx test configuration sway and foot configuration updated created initial sddm configuration for login manager
38 lines
757 B
Nix
38 lines
757 B
Nix
{
|
|
config,
|
|
lib,
|
|
...
|
|
}: {
|
|
specialisation = {
|
|
powersave.configuration = {
|
|
hardware.nvidia.prime = {
|
|
offload = {
|
|
enable = lib.mkForce true;
|
|
enableOffloadCmd = lib.mkForce true;
|
|
};
|
|
sync.enable = lib.mkForce false;
|
|
};
|
|
};
|
|
};
|
|
hardware.opengl = {
|
|
enable = true;
|
|
};
|
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|
hardware.nvidia = {
|
|
prime = {
|
|
offload.enable = false;
|
|
sync = {
|
|
enable = true;
|
|
};
|
|
amdgpuBusId = "PCI:5:0:0";
|
|
nvidiaBusId = "PCI:1:0:0";
|
|
};
|
|
forceFullCompositionPipeline = true;
|
|
modesetting.enable = true;
|
|
powerManagement.enable = false;
|
|
powerManagement.finegrained = false;
|
|
open = true;
|
|
nvidiaSettings = true;
|
|
package = config.boot.kernelPackages.nvidiaPackages.stable;
|
|
};
|
|
}
|