···11-{ pkgs, ... }:
22-let
33- index = pkgs.writeText "index.txt" ''
44- hi there~
55-66- you are currently interfacing with one of the data endpoints
77- of entity with serial id /90008/. you may want to open a
88- connection to https://gaze.systems/about for more data.
99-1010- /discord 90.008/
1111- /bsky @ptr.pet/
1212- /email 90008@gaze.systems/
1313-1414- /dig +short TXT 9.0.0.0.8.e.f.1.5.0.7.4.0.1.0.0.2.ip6.arpa/
1515- '';
1616- root = pkgs.runCommand "root" { } ''
1717- mkdir -p $out
1818- ln -s ${index} $out/index.txt
1919- '';
2020-in
2121-{
2222- services.nginx.virtualHosts."9.0.0.0.8.e.f.1.5.0.7.4.0.1.0.0.2.ip6.arpa" = {
2323- inherit root;
2424- locations."/".index = "index.txt";
2525- quic = true;
2626- kTLS = true;
2727- };
2828-}
+26
hosts/trimounts/modules/klbr.nix
···11+{ pkgs, ... }:
22+let
33+ index = pkgs.writeText "index.txt" ''
44+ hi there~
55+66+ you are currently interfacing with one of the data
77+ endpoints of entity with serial id /90008/. you can
88+ open a connection to https://ptr.pet/about for more.
99+1010+ /discord 90.008/
1111+ /bsky @ptr.pet/
1212+ /email 90008@klbr.net/
1313+1414+ /dig +short TXT klbr.net/
1515+ '';
1616+ root = pkgs.runCommand "root" { } ''
1717+ mkdir -p $out
1818+ ln -s ${index} $out/index.txt
1919+ '';
2020+in
2121+{
2222+ services.nginx.virtualHosts."klbr.net" = {
2323+ inherit root;
2424+ locations."/".index = "index.txt";
2525+ };
2626+}