diff --git a/modules/periodic.nix b/modules/periodic.nix index 42f7ed1..d11aa80 100644 --- a/modules/periodic.nix +++ b/modules/periodic.nix @@ -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" ];