mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-02-07 06:19:00 +00:00
services/archivebox: escape extraArgs
properly
This commit is contained in:
parent
a62ae7b75c
commit
2be753489e
@ -54,7 +54,7 @@ let
|
||||
path = [ cfg.package ] ++ cfg.extraPackages;
|
||||
script = ''
|
||||
echo "${lib.concatStringsSep "\n" value.urls}" \
|
||||
| archivebox add ${lib.concatStringsSep " " value.extraArgs}
|
||||
| archivebox add ${lib.escapeShellArgs value.extraArgs}
|
||||
'';
|
||||
serviceConfig = {
|
||||
User = "archivebox";
|
||||
@ -131,7 +131,7 @@ in
|
||||
"https://arxiv.org/rss/cs"
|
||||
"https://distill.pub/"
|
||||
];
|
||||
extraArgs = [ "--depth 1" ];
|
||||
extraArgs = [ "--depth" "1" ];
|
||||
startAt = "daily";
|
||||
};
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user