parent
							
								
									be7ca49629
								
							
						
					
					
						commit
						dee7d066f2
					
				
					 2 changed files with 12 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -40,6 +40,7 @@ in
 | 
			
		|||
    "zenpower"
 | 
			
		||||
  ];
 | 
			
		||||
  boot.kernelParams = [
 | 
			
		||||
    "amdgpu.dcdebugmask=0x10" # amdgpu undervolting bug
 | 
			
		||||
    "video=DP-1:1920x1080@144"
 | 
			
		||||
    # hibernation
 | 
			
		||||
    "resume=LABEL=BTRFS_ROOT" # findmnt -o LABEL --noheadings /swap/
 | 
			
		||||
| 
						 | 
				
			
			@ -63,6 +64,16 @@ in
 | 
			
		|||
    rocmPackages.rocm-smi
 | 
			
		||||
  ];
 | 
			
		||||
 | 
			
		||||
  boot.kernelPackages = pkgs.linuxPackages_6_1;
 | 
			
		||||
 | 
			
		||||
  programs.corectrl = {
 | 
			
		||||
    enable = true;
 | 
			
		||||
    gpuOverclock = {
 | 
			
		||||
      enable = true;
 | 
			
		||||
      ppfeaturemask = "0xffffffff";
 | 
			
		||||
    };
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
  fileSystems."/" = {
 | 
			
		||||
    device = "/dev/disk/by-label/BTRFS_ROOT";
 | 
			
		||||
    fsType = "btrfs";
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -104,6 +104,7 @@ in
 | 
			
		|||
        exec ${pkgs.dbus-sway-environment}/bin/dbus-sway-environment
 | 
			
		||||
        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