gaming: add corectrl
This commit is contained in:
		
							parent
							
								
									b5e6127bb3
								
							
						
					
					
						commit
						00c686512c
					
				
					 3 changed files with 8 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -14,7 +14,6 @@ in
 | 
			
		|||
  boot.initrd.kernelModules = [ "amdgpu" ];
 | 
			
		||||
  boot.kernelParams = [
 | 
			
		||||
    "video=DP-1:1920x1080@144"
 | 
			
		||||
    "amdgpu.ppfeaturemask=0xfffd7fff" # enable undervolting
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  systemd.services.amd-fan-control = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -59,5 +59,13 @@
 | 
			
		|||
        };
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
 | 
			
		||||
    programs.corectrl = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      gpuOverclock = {
 | 
			
		||||
        enable = true;
 | 
			
		||||
        ppfeaturemask = "0xffffffff";
 | 
			
		||||
      };
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -113,7 +113,6 @@ in
 | 
			
		|||
        for_window [title=.*] inhibit_idle fullscreen
 | 
			
		||||
        exec swaymsg workspace 2
 | 
			
		||||
        exec_always systemctl --user restart waybar.service
 | 
			
		||||
        exec corectrl --minimize-systray
 | 
			
		||||
      '';
 | 
			
		||||
    };
 | 
			
		||||
    services.gammastep = {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue