feat: wiki test

This commit is contained in:
Nick 2024-10-19 16:35:49 -05:00
parent aa5fa6bebe
commit a78bbd919c
2 changed files with 3 additions and 1 deletions

View file

@ -355,6 +355,7 @@ in {
}; };
ports = { ports = {
port0 = 3000; port0 = 3000;
port1 = 5432;
}; };
ssl = { ssl = {
cert = "${sslPath}/${wikiSubdomain}.${domain1}/fullchain.pem"; cert = "${sslPath}/${wikiSubdomain}.${domain1}/fullchain.pem";

View file

@ -7,7 +7,7 @@
inherit (flake.config.people.user.${user0}) domain; inherit (flake.config.people.user.${user0}) domain;
inherit (flake.config.system.device) server wildcard; inherit (flake.config.system.device) server wildcard;
inherit (flake.config.service.instance.wiki) paths ports subdomain ssl sops name; inherit (flake.config.service.instance.wiki) paths ports subdomain ssl sops name;
localhost = wildcard.ip.address1; localhost = wildcard.ip.address0;
host = "${subdomain}.${domain.url1}"; host = "${subdomain}.${domain.url1}";
in { in {
services = { services = {
@ -82,6 +82,7 @@ in {
firewall = { firewall = {
allowedTCPPorts = [ allowedTCPPorts = [
ports.port0 ports.port0
ports.port1
]; ];
}; };
}; };