mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-14 12:19:00 +00:00
services/yt-dlp: remove persistent option
This commit is contained in:
parent
eab8631e9b
commit
9ddddcf1e3
@ -35,17 +35,6 @@ let
|
|||||||
example = "*-*-3/4";
|
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 {
|
extraArgs = lib.mkOption {
|
||||||
type = with lib.types; listOf str;
|
type = with lib.types; listOf str;
|
||||||
description =
|
description =
|
||||||
@ -170,7 +159,7 @@ in
|
|||||||
(name: value:
|
(name: value:
|
||||||
lib.nameValuePair (jobUnitName name) {
|
lib.nameValuePair (jobUnitName name) {
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
Persistent = value.persistent;
|
Persistent = true;
|
||||||
RandomizedDelaySec = "2min";
|
RandomizedDelaySec = "2min";
|
||||||
};
|
};
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user