diff --git a/dns/nixos.org.js b/dns/nixos.org.js index 8331076c..8f49bd1f 100644 --- a/dns/nixos.org.js +++ b/dns/nixos.org.js @@ -104,6 +104,7 @@ D("nixos.org", A("caliban", "65.109.26.213"), AAAA("caliban", "2a01:4f9:5a:186c::2"), CNAME("chat", "caliban"), + CNAME("debuginfod", "caliban"), CNAME("live", "caliban"), CNAME("matrix", "caliban"), CNAME("survey", "caliban"), diff --git a/non-critical-infra/hosts/caliban/default.nix b/non-critical-infra/hosts/caliban/default.nix index 34c3e0a9..521b0a32 100644 --- a/non-critical-infra/hosts/caliban/default.nix +++ b/non-critical-infra/hosts/caliban/default.nix @@ -7,6 +7,7 @@ inputs.srvos.nixosModules.hardware-hetzner-online-amd ../../../modules/rasdaemon.nix ../../modules/common.nix + ../../modules/debuginfod ../../modules/first-time-contribution-tagger.nix ../../modules/backup.nix ../../modules/element-web.nix diff --git a/non-critical-infra/modules/debuginfod/default.nix b/non-critical-infra/modules/debuginfod/default.nix new file mode 100644 index 00000000..888dd70e --- /dev/null +++ b/non-critical-infra/modules/debuginfod/default.nix @@ -0,0 +1,23 @@ +{ + imports = [ + ../nginx.nix + ]; + + services.nixseparatedebuginfod.enable = true; + + services.nginx.virtualHosts."debuginfod.nixos.org" = { + enableACME = true; + forceSSL = true; + + locations."= /" = { }; + + locations."= /index.html" = { + alias = ./index.html; + }; + + locations."/" = { + proxyPass = "http://127.0.0.1:1949"; + index = "index.html"; + }; + }; +} diff --git a/non-critical-infra/modules/debuginfod/index.html b/non-critical-infra/modules/debuginfod/index.html new file mode 100644 index 00000000..8305cca2 --- /dev/null +++ b/non-critical-infra/modules/debuginfod/index.html @@ -0,0 +1,77 @@ + + +
+
+
+
+
+
+ https://debuginfod.nixos.org/
provides access to debug
+ symbols and derivation source code for debuggers supporting the
+ debuginfod protocol. Debug symbols are provided for all derivations
+ that enable the `separateDebugInfo` flag.
+
+
export DEBUGINFOD_URLS=https://debuginfod.nixos.org+ +
+ If you are having trouble, please reach out to the + infrastructure team +
++ For questions, or support, + the support page from the NixOS website describes how to get in + touch. +
+