From d65fb75f788f0f065f172df2488b3b44b1bab8ef Mon Sep 17 00:00:00 2001 From: Max Date: Thu, 2 Nov 2023 23:50:27 +0100 Subject: [PATCH] cluster/services/websites: add dns records --- cluster/services/websites/default.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/cluster/services/websites/default.nix b/cluster/services/websites/default.nix index ec7c48a..53416ff 100644 --- a/cluster/services/websites/default.nix +++ b/cluster/services/websites/default.nix @@ -50,4 +50,8 @@ in module = "https2xx"; }; }; + + dns.records = lib.genAttrs [ "www" "draw" "stop-using-nix-env" "whoami" ] (lib.const { + rewrite.target = "static-lb"; + }); }