From 9ddddcf1e376185ba8235014544a07530bd43bf8 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Fri, 27 Oct 2023 13:25:08 +0800 Subject: [PATCH] services/yt-dlp: remove persistent option --- modules/nixos/services/yt-dlp.nix | 13 +------------ 1 file changed, 1 insertion(+), 12 deletions(-) diff --git a/modules/nixos/services/yt-dlp.nix b/modules/nixos/services/yt-dlp.nix index 73172233..788f045f 100644 --- a/modules/nixos/services/yt-dlp.nix +++ b/modules/nixos/services/yt-dlp.nix @@ -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"; }; })