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,8 +102,7 @@ in
|
||||
description = "A map of archiving tasks for the service.";
|
||||
default = { };
|
||||
defaultText = lib.literalExpression "{}";
|
||||
example = lib.literalExpression ''
|
||||
{
|
||||
example = {
|
||||
illustration = {
|
||||
urls = [
|
||||
"https://www.davidrevoy.com/"
|
||||
@ -120,15 +119,14 @@ in
|
||||
extraArgs = [ "--depth 1" ];
|
||||
startAt = "daily";
|
||||
};
|
||||
}
|
||||
'';
|
||||
};
|
||||
};
|
||||
|
||||
withDependencies =
|
||||
lib.mkEnableOption "additional dependencies to be installed";
|
||||
|
||||
webserver = {
|
||||
enable = lib.mkEnableOption "web UI for Archivebox";
|
||||
enable = lib.mkEnableOption "ArchiveBox web server";
|
||||
|
||||
port = lib.mkOption {
|
||||
type = lib.types.port;
|
||||
|
Loading…
Reference in New Issue
Block a user