mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 04:58:01 +00:00
services/archivebox: update module examples and descriptions
This commit is contained in:
parent
aeac081cd2
commit
edfc8f8cc3
@ -102,33 +102,31 @@ in
|
|||||||
description = "A map of archiving tasks for the service.";
|
description = "A map of archiving tasks for the service.";
|
||||||
default = { };
|
default = { };
|
||||||
defaultText = lib.literalExpression "{}";
|
defaultText = lib.literalExpression "{}";
|
||||||
example = lib.literalExpression ''
|
example = {
|
||||||
{
|
illustration = {
|
||||||
illustration = {
|
urls = [
|
||||||
urls = [
|
"https://www.davidrevoy.com/"
|
||||||
"https://www.davidrevoy.com/"
|
"https://www.youtube.com/c/ronillust"
|
||||||
"https://www.youtube.com/c/ronillust"
|
];
|
||||||
];
|
startAt = "weekly";
|
||||||
startAt = "weekly";
|
};
|
||||||
};
|
|
||||||
|
|
||||||
research = {
|
research = {
|
||||||
urls = [
|
urls = [
|
||||||
"https://arxiv.org/rss/cs"
|
"https://arxiv.org/rss/cs"
|
||||||
"https://distill.pub/"
|
"https://distill.pub/"
|
||||||
];
|
];
|
||||||
extraArgs = [ "--depth 1" ];
|
extraArgs = [ "--depth 1" ];
|
||||||
startAt = "daily";
|
startAt = "daily";
|
||||||
};
|
};
|
||||||
}
|
};
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
|
|
||||||
withDependencies =
|
withDependencies =
|
||||||
lib.mkEnableOption "additional dependencies to be installed";
|
lib.mkEnableOption "additional dependencies to be installed";
|
||||||
|
|
||||||
webserver = {
|
webserver = {
|
||||||
enable = lib.mkEnableOption "web UI for Archivebox";
|
enable = lib.mkEnableOption "ArchiveBox web server";
|
||||||
|
|
||||||
port = lib.mkOption {
|
port = lib.mkOption {
|
||||||
type = lib.types.port;
|
type = lib.types.port;
|
||||||
|
Loading…
Reference in New Issue
Block a user