From edfc8f8cc3ed3550af5e12dbc706ced9609574c1 Mon Sep 17 00:00:00 2001 From: Gabriel Arazas Date: Tue, 7 Nov 2023 20:50:37 +0800 Subject: [PATCH] services/archivebox: update module examples and descriptions --- modules/nixos/services/archivebox.nix | 38 +++++++++++++-------------- 1 file changed, 18 insertions(+), 20 deletions(-) diff --git a/modules/nixos/services/archivebox.nix b/modules/nixos/services/archivebox.nix index 8038683d..f3dd06e7 100644 --- a/modules/nixos/services/archivebox.nix +++ b/modules/nixos/services/archivebox.nix @@ -102,33 +102,31 @@ in description = "A map of archiving tasks for the service."; default = { }; defaultText = lib.literalExpression "{}"; - example = lib.literalExpression '' - { - illustration = { - urls = [ - "https://www.davidrevoy.com/" - "https://www.youtube.com/c/ronillust" - ]; - startAt = "weekly"; - }; + example = { + illustration = { + urls = [ + "https://www.davidrevoy.com/" + "https://www.youtube.com/c/ronillust" + ]; + startAt = "weekly"; + }; - research = { - urls = [ - "https://arxiv.org/rss/cs" - "https://distill.pub/" - ]; - extraArgs = [ "--depth 1" ]; - startAt = "daily"; - }; - } - ''; + research = { + urls = [ + "https://arxiv.org/rss/cs" + "https://distill.pub/" + ]; + 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;