services/yt-dlp: remove persistent option

This commit is contained in:
Gabriel Arazas 2023-10-27 13:25:08 +08:00
parent eab8631e9b
commit 9ddddcf1e3
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -35,17 +35,6 @@ let
example = "*-*-3/4";
};
persistent = lib.mkOption {
type = lib.types.bool;
description = ''
Indicates whether the job should be persistent, starting the service
if missed.
'';
default = false;
defaultText = "false";
example = "true";
};
extraArgs = lib.mkOption {
type = with lib.types; listOf str;
description =
@ -170,7 +159,7 @@ in
(name: value:
lib.nameValuePair (jobUnitName name) {
timerConfig = {
Persistent = value.persistent;
Persistent = true;
RandomizedDelaySec = "2min";
};
})