Juri, pds + caddy running
This commit is contained in:
parent
85d6bb74e2
commit
6b73404361
1 changed files with 17 additions and 4 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue