nix machine / user configurations
1{ pkgs, ... }: 2let 3 index = pkgs.writeText "index.txt" '' 4 hi there~ 5 6 you are currently interfacing with one of the data endpoints 7 of entity with serial id /90008/. you may want to open a 8 connection to https://gaze.systems/about for more data. 9 10 /discord 90.008/ 11 /bsky @poor.dog/ 12 /email 90008@gaze.systems/ 13 14 /dig +short TXT 9.0.0.0.8.e.f.1.5.0.7.4.0.1.0.0.2.ip6.arpa/ 15 ''; 16 root = pkgs.runCommand "root" { } '' 17 mkdir -p $out 18 ln -s ${index} $out/index.txt 19 ''; 20in 21{ 22 services.nginx.virtualHosts."9.0.0.0.8.e.f.1.5.0.7.4.0.1.0.0.2.ip6.arpa" = { 23 inherit root; 24 locations."/".index = "index.txt"; 25 quic = true; 26 kTLS = true; 27 }; 28}