Juri, pds + caddy running

This commit is contained in:
Julia Lange 2025-03-18 14:09:25 -07:00
parent 85d6bb74e2
commit 6b73404361
Signed by: Julia
SSH key fingerprint: SHA256:50XUMcOFYPUs9/1j7p9SPnwASZ7QnxXm7THF7HkbqzQ

View file

@ -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;
}