From e25c9e1091abc1ea7247871faa0b7a064912017c Mon Sep 17 00:00:00 2001 From: aszlig Date: Mon, 13 Oct 2014 20:48:32 +0200 Subject: tishtushi: Set standby timer for rotational disk. I don't like the constant clicking after a small fart of idling, especially because it will reduce the disk life as well. Signed-off-by: aszlig --- machines/tishtushi.nix | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'machines') diff --git a/machines/tishtushi.nix b/machines/tishtushi.nix index 0d1c2e5e..97a081a9 100644 --- a/machines/tishtushi.nix +++ b/machines/tishtushi.nix @@ -40,6 +40,10 @@ in { device = "/dev/disk/by-uuid/${swapUUID}"; }; + powerManagement.powerUpCommands = '' + ${pkgs.hdparm}/sbin/hdparm -B 254 "/dev/disk/by-id/${diskID}" + ''; + services.xserver.videoDrivers = [ "intel" ]; nix.maxJobs = 4; -- cgit 1.4.1