···7373_acme-challenge.pds IN NS ns1
7474git IN CNAME neoprism
7575knot IN CNAME neoprism
7676+mirror IN CNAME neoprism
7677when IN CNAME neoprism
7778paperless IN CNAME neoprism
7879
···11{
22 self,
33 config,
44- lib,
54 pkgs,
65 ...
76}:
···1413{
1514 # Tangled appview: the web UI for repos on knot.lassul.us (knot.nix) and
1615 # other knots. Users log in with their atproto account via OAuth to their
1717- # PDS. Records come from Bluesky's jetstream and repo contents from the
1818- # public knotmirror (mirror.tangled.network), both upstream defaults.
1919- # Follows tangled's nix/modules/appview.nix, without its flake (the module
2020- # files are in a fetched source, importing them would be IFD).
1616+ # PDS. Records come from Bluesky's jetstream (upstream default) and repo
1717+ # contents from our knotmirror (knotmirror.nix). Follows tangled's
1818+ # nix/modules/appview.nix, without its flake (the module files are in a
1919+ # fetched source, importing them would be IFD).
21202221 clan.core.vars.generators.tangled-appview = {
2322 files."appview.env" = { };
···9796 TANGLED_AVATAR_HOST = "https://avatar.tangled.sh";
9897 TANGLED_PLC_URL = "https://plc.directory";
9998 TANGLED_PDS_HOST = "https://tngl.sh";
100100- TANGLED_LABEL_DEFAULTS =
101101- lib.concatMapStringsSep ","
102102- (l: "at://did:plc:wshs7t2adsemcrrd4snkeqli/sh.tangled.label.definition/${l}")
103103- [
104104- "wontfix"
105105- "good-first-issue"
106106- "duplicate"
107107- "documentation"
108108- "assignee"
109109- ];
9999+ # records of tangled's account, fetched from its PDS at startup; repos
100100+ # start without labels
101101+ TANGLED_LABEL_DEFAULTS = "";
110102 TANGLED_LABEL_GFI = "at://did:plc:wshs7t2adsemcrrd4snkeqli/sh.tangled.label.definition/good-first-issue";
111103 # probed at every login, upstream's is knot1.tangled.sh
112104 TANGLED_KNOT_DEFAULT = "knot.lassul.us";
113105 # OG images of repos, issues and pulls, rendered by tangled
114106 TANGLED_OGRE_HOST = "http://127.0.0.1:9";
107107+ # browsers get raw blob links to it, so not localhost
108108+ TANGLED_KNOTMIRROR_URL = "https://mirror.lassul.us";
115109 };
116110 };
117111