vaccaria: disable fancontrol
This commit is contained in:
		
							parent
							
								
									9bb3639a04
								
							
						
					
					
						commit
						35651f0070
					
				
							
								
								
									
										34
									
								
								vaccaria.nix
									
									
									
									
									
								
							
							
								
								
								
								
								
									
									
								
							
						
						
									
										34
									
								
								vaccaria.nix
									
									
									
									
									
								
							@ -87,23 +87,23 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
  # fancontrol
 | 
					  # fancontrol
 | 
				
			||||||
  boot.kernelModules = ["it87"];
 | 
					  boot.kernelModules = ["it87"];
 | 
				
			||||||
  systemd.services.fancontrol =
 | 
					  # systemd.services.fancontrol =
 | 
				
			||||||
    let fancontrolConfig = pkgs.writeText "fancontrol" ''
 | 
					  #   let fancontrolConfig = pkgs.writeText "fancontrol" ''
 | 
				
			||||||
      # Configuration file generated by pwmconfig, changes will be lost
 | 
					  #     # Configuration file generated by pwmconfig, changes will be lost
 | 
				
			||||||
      INTERVAL=10
 | 
					  #     INTERVAL=10
 | 
				
			||||||
      DEVPATH=hwmon1=devices/pci0000:00/0000:00:18.3 hwmon0=devices/platform/it87.552
 | 
					  #     DEVPATH=hwmon1=devices/pci0000:00/0000:00:18.3 hwmon0=devices/platform/it87.552
 | 
				
			||||||
      DEVNAME=hwmon1=k10temp hwmon0=it8720
 | 
					  #     DEVNAME=hwmon1=k10temp hwmon0=it8720
 | 
				
			||||||
      FCTEMPS=hwmon0/pwm3=hwmon1/temp1_input hwmon0/pwm1=hwmon1/temp1_input
 | 
					  #     FCTEMPS=hwmon0/pwm3=hwmon1/temp1_input hwmon0/pwm1=hwmon1/temp1_input
 | 
				
			||||||
      FCFANS=hwmon0/pwm3=hwmon0/fan1_input hwmon0/pwm1=hwmon0/fan1_input
 | 
					  #     FCFANS=hwmon0/pwm3=hwmon0/fan1_input hwmon0/pwm1=hwmon0/fan1_input
 | 
				
			||||||
      MINTEMP=hwmon0/pwm3=40 hwmon0/pwm1=40
 | 
					  #     MINTEMP=hwmon0/pwm3=40 hwmon0/pwm1=40
 | 
				
			||||||
      MAXTEMP=hwmon0/pwm3=65 hwmon0/pwm1=65
 | 
					  #     MAXTEMP=hwmon0/pwm3=65 hwmon0/pwm1=65
 | 
				
			||||||
      MINSTART=hwmon0/pwm3=150 hwmon0/pwm1=150
 | 
					  #     MINSTART=hwmon0/pwm3=150 hwmon0/pwm1=150
 | 
				
			||||||
      MINSTOP=hwmon0/pwm3=0 hwmon0/pwm1=100
 | 
					  #     MINSTOP=hwmon0/pwm3=0 hwmon0/pwm1=100
 | 
				
			||||||
    ''; in {
 | 
					  #   ''; in {
 | 
				
			||||||
    description = "fancontrol from lm_sensors";
 | 
					  #   description = "fancontrol from lm_sensors";
 | 
				
			||||||
    wantedBy = ["multi-user.target"];
 | 
					  #   wantedBy = ["multi-user.target"];
 | 
				
			||||||
    serviceConfig.ExecStart = "${pkgs.lm_sensors}/bin/fancontrol ${fancontrolConfig}";
 | 
					  #   serviceConfig.ExecStart = "${pkgs.lm_sensors}/bin/fancontrol ${fancontrolConfig}";
 | 
				
			||||||
  };
 | 
					  # };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  # hdd spindown
 | 
					  # hdd spindown
 | 
				
			||||||
  powerManagement.powerUpCommands = ''
 | 
					  powerManagement.powerUpCommands = ''
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user