coalescing code for imports

This commit is contained in:
Noah Masur
2025-03-10 03:37:48 +00:00
parent 90fd9f54a7
commit 1eae89b8ab
10 changed files with 104 additions and 21 deletions

View File

@ -1,7 +1,7 @@
{
config,
lib,
globals,
hostnames,
...
}:
@ -30,7 +30,7 @@ in
# Allow web traffic to Caddy
nmasur.presets.services.caddy.routes = [
{
match = [ { host = [ globals.hostnames.audiobooks ]; } ];
match = [ { host = [ hostnames.audiobooks ]; } ];
handle = [
{
handler = "reverse_proxy";
@ -41,7 +41,7 @@ in
];
# Configure Cloudflare DNS to point to this machine
services.cloudflare-dyndns.domains = [ globals.hostnames.audiobooks ];
services.cloudflare-dyndns.domains = [ hostnames.audiobooks ];
};

View File

@ -1,4 +1,8 @@
{ lib, hostnames, ... }:
{
lib,
hostnames,
...
}:
{
options.nmasur.settings = {