mirror of
https://github.com/nmasur/dotfiles
synced 2025-07-06 19:00:14 +00:00
hostnames and user settings
This commit is contained in:
@ -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 ];
|
||||
};
|
||||
}
|
||||
|
Reference in New Issue
Block a user