X-Git-Url: https://git.kernelpanic.cafe/?p=MarigoldOS%2F.git;a=blobdiff_plain;f=profiles%2Farchivebox.nix;fp=profiles%2Farchivebox.nix;h=cb7e2cb00b0bb03445458a5b8c622821150f35c4;hp=0000000000000000000000000000000000000000;hb=5be69113d25ab18f3381be6cc38f60bef8b687b2;hpb=754832f815bda4c941af3e7d27a5886a17dc6043 diff --git a/profiles/archivebox.nix b/profiles/archivebox.nix new file mode 100644 index 0000000..cb7e2cb --- /dev/null +++ b/profiles/archivebox.nix @@ -0,0 +1,11 @@ +{ 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; +}