aplysia, vaccaria: hdd spindown
This commit is contained in:
		
							parent
							
								
									f16904c800
								
							
						
					
					
						commit
						52417ce7f2
					
				@ -78,4 +78,9 @@
 | 
				
			|||||||
    samba
 | 
					    samba
 | 
				
			||||||
  ];
 | 
					  ];
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # hdd spindown
 | 
				
			||||||
 | 
					  powerManagement.powerUpCommands = ''
 | 
				
			||||||
 | 
					    ${pkgs.hdparm}/bin/hdparm -B127 -S100 /dev/sd{a,b,c,d,e,f}
 | 
				
			||||||
 | 
					  '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -89,4 +89,9 @@
 | 
				
			|||||||
    serviceConfig.ExecStart = "${pkgs.lm_sensors}/bin/fancontrol ${fancontrolConfig}";
 | 
					    serviceConfig.ExecStart = "${pkgs.lm_sensors}/bin/fancontrol ${fancontrolConfig}";
 | 
				
			||||||
  };
 | 
					  };
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					  # hdd spindown
 | 
				
			||||||
 | 
					  powerManagement.powerUpCommands = ''
 | 
				
			||||||
 | 
					    ${pkgs.hdparm}/bin/hdparm -B127 -S100 /dev/sd{a,b,c,d,e,f}
 | 
				
			||||||
 | 
					  '';
 | 
				
			||||||
 | 
					
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user