Push to see what I still have to remove lol

This commit is contained in:
Jimbo 2025-02-28 14:12:07 -05:00
parent 8c30ba9fea
commit 8d1a992bb2
27 changed files with 25 additions and 337 deletions

View file

@ -1,7 +1,6 @@
{ ... }:
{
imports = [
./nixfox
./jimbosfiles
./example
];
}

View file

@ -1,16 +1,16 @@
{ config, lib, ... }:
{
services.nginx.virtualHosts = lib.mkIf config.system.server.enable {
"www.nixfox.ca" = {
"www.example.com" = {
enableACME = true;
addSSL = true;
default = true;
root = "/var/www/landing-page";
};
"nixfox.ca" = {
"example.com" = {
enableACME = true;
addSSL = true;
globalRedirect = "www.nixfox.ca";
globalRedirect = "www.example.com";
};
};
}

View file

@ -1,27 +0,0 @@
{ config, lib, ... }:
{
services.nginx.virtualHosts."jimbosfiles.com" = lib.mkIf config.system.server.enable {
enableACME = true;
addSSL = true;
globalRedirect = "www.nixfox.ca";
locations = {
"/.well-known/matrix/client".extraConfig = ''
default_type application/json;
return 200 '
{
"m.homeserver": {
"base_url": "https://matrix.jimbosfiles.com"
},
"m.identity_server": {
"base_url": "https://matrix.org"
}
}
';
'';
"/.well-known/matrix/server".extraConfig = ''
default_type application/json;
return 200 '{ "m.server": "matrix.jimbosfiles.com:443" }';
'';
};
};
}