hostnames and user settings

This commit is contained in:
Noah Masur
2025-02-08 12:58:06 -05:00
parent 9c5de4c54f
commit 61b1ceffd9
45 changed files with 253 additions and 275 deletions

View File

@ -1,6 +1,7 @@
{ config, lib, ... }:
let
cfg = config.nmasur.presets.services.thelounge;
hostnames = config.nmasur.settings.hostnames;
in
{
@ -22,7 +23,7 @@ in
# Allow web traffic to Caddy
caddy.routes = [
{
match = [ { host = [ config.hostnames.irc ]; } ];
match = [ { host = [ hostnames.irc ]; } ];
handle = [
{
handler = "reverse_proxy";
@ -33,6 +34,6 @@ in
];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.irc ];
services.cloudflare-dyndns.domains = [ hostnames.irc ];
};
}