Only spin down spinning rust
This commit is contained in:
parent
349f57e474
commit
55fe10af93
|
@ -53,7 +53,10 @@ in {
|
|||
description = "Idle HDDs when not in use";
|
||||
wantedBy = [ "default.target" ];
|
||||
path = with pkgs; [ hd-idle ];
|
||||
script = "${pkgs.hd-idle}/bin/hd-idle";
|
||||
script = ''
|
||||
${pkgs.hd-idle}/bin/hd-idle -i 0 -a ata-ST1000LM035-1RK172_WKPAKV85 -i 600
|
||||
-a ata-HGST_HTS721010A9E630_JR100X6P3UJG5E -i 600
|
||||
'';
|
||||
serviceConfig.Type = "simple";
|
||||
requires = [ "sata-hat.service" ];
|
||||
after = [ "vault.mount" ];
|
||||
|
|
Loading…
Reference in New Issue