diff --git a/flake.nix b/flake.nix index 6fbf253..87f1023 100644 --- a/flake.nix +++ b/flake.nix @@ -1,6 +1,6 @@ # flake for blakes nixos config # define new devices in outputs -# generation: 318 current 2025-10-11 19:37:14 25.05.20251006.20c4598 6.12.50 * +# generation: 319 current 2025-10-11 19:39:47 25.05.20251006.20c4598 6.12.50 * { description = "blakes nix config"; inputs = { diff --git a/modules/homelab/services/nginx-proxy/default.nix b/modules/homelab/services/nginx-proxy/default.nix index 88461ea..6aa74e4 100644 --- a/modules/homelab/services/nginx-proxy/default.nix +++ b/modules/homelab/services/nginx-proxy/default.nix @@ -29,8 +29,10 @@ in sslCertificate = sec."ssl_blakedheld_crt".path; sslCertificateKey = sec."ssl_blakedheld_key".path; root = "/etc/webroot_keys"; - locations."/" = { - index = "klefki_pub.asc"; + locations."/klefki_pub.asc" = { + extraConfig = '' + add_header Content-Disposition "attachment; filename=klefki_pub.asc"; + ''; }; };