More service changes start the move to nixfox.ca and replace the username

This commit is contained in:
Jimbo 2025-01-01 18:32:50 -05:00
parent bf138bcd93
commit ab6f4f9946
33 changed files with 54 additions and 203 deletions

View file

@ -34,7 +34,7 @@
};
systemd.services.nginx.serviceConfig = {
ReadWritePaths = [ "/var/www/Jimbo-Landing-Page/streams/hls/" ];
ReadWritePaths = [ "/var/www/landing-page/streams/hls/" ];
};
};
}

View file

@ -1,6 +1,6 @@
{ ... }:
{
imports = [
./p1
./p2
];
}

View file

@ -1,6 +1,6 @@
{ config, lib, ... }:
{
services.nginx.virtualHosts."${config.domains.p1}" = lib.mkIf config.system.server.enable {
services.nginx.virtualHosts."${config.domains.p2}" = lib.mkIf config.system.server.enable {
enableACME = true;
addSSL = true;
root = "/var/www/landing-page";
@ -10,13 +10,13 @@
return 200 '
{
"m.homeserver": {
"base_url": "https://matrix.${config.domains.p1}"
"base_url": "https://matrix.${config.domains.p2}"
},
"m.identity_server": {
"base_url": "https://matrix.org"
},
"org.matrix.msc3575.proxy": {
"url": "https://matrix.${config.domains.p1}"
"url": "https://matrix.${config.domains.p2}"
}
}
';
@ -24,7 +24,7 @@
"/.well-known/matrix/server".extraConfig = ''
default_type application/json;
return 200 '{ "m.server": "matrix.${config.domains.p1}:443" }';
return 200 '{ "m.server": "matrix.${config.domains.p2}:443" }';
'';
};
};