--- /dev/null
+{ config, lib, pkgs, ... }:
+let
+ fqdn = "archivebox.${config.networking.hostName}.${config.networking.domain}";
+in {
+ environment.systemPackages = [ pkgs.archivebox ];
+ services.archivebox = {
+ enable = true;
+ port = 8148;
+ };
+ helpers.webservices."${fqdn}".port = config.services.archivebox.port;
+}