From 6b734043614dd2c9d3aa26f07db56ee7c091616b Mon Sep 17 00:00:00 2001 From: Julia Lange Date: Tue, 18 Mar 2025 14:09:25 -0700 Subject: [PATCH] Juri, pds + caddy running --- hosts/juri/host.nix | 21 +++++++++++++++++---- 1 file changed, 17 insertions(+), 4 deletions(-) diff --git a/hosts/juri/host.nix b/hosts/juri/host.nix index 24d7558..a95345e 100644 --- a/hosts/juri/host.nix +++ b/hosts/juri/host.nix @@ -1,6 +1,7 @@ { config, ... }: - -{ +let + email = "admin@woach.me"; +in { imports = [ ./hardware.nix ]; @@ -17,10 +18,23 @@ }; }; + caddy = { + enable = true; + adminEmail = email; + vhosts = { + "juri.woach.me" = { + extraConfig = '' + reverse_proxy :3000 + ''; + serverAliases = [ "*.juri.woach.me" ]; + }; + }; + }; + pds = { enable = true; hostname = "juri.woach.me"; - adminEmail = "admin@woach.me"; + adminEmail = email; environmentFile = config.sops.secrets.pdsEnv.path; }; @@ -29,4 +43,3 @@ sshd.enable = true; } -