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

@ -5,6 +5,7 @@
}:
let
cfg = config.nmasur.presets.services.filebrowser;
hostnames = config.nmasur.settings.hostnames;
in
{
@ -20,7 +21,7 @@ in
caddy.routes = [
{
match = [ { host = [ config.hostnames.files ]; } ];
match = [ { host = [ hostnames.files ]; } ];
handle = [
{
handler = "reverse_proxy";
@ -33,7 +34,7 @@ in
];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ config.hostnames.files ];
services.cloudflare-dyndns.domains = [ hostnames.files ];
};