diff --git a/hosts/h003/mods/networking.nix b/hosts/h003/mods/networking.nix index 3a547c6..7173678 100644 --- a/hosts/h003/mods/networking.nix +++ b/hosts/h003/mods/networking.nix @@ -167,13 +167,15 @@ # Note in Ad GuardHome in DNS Settings add localhost:9053 to Private reverse DNS servers and enable them listen-address = "127.0.0.1"; port = 9053; + # NOTE these make it so my other devices don't hit the open net to stream movies + # while on the local network. Note that this is being paired with stateful settings + # in Adguardhome upstream dns servers: + # [/media.joshuabell.xyz/]127.0.0.1:9053 + # [/jellyfin.joshuabell.xyz/]127.0.0.1:9053 host-record = [ "media.joshuabell.xyz,10.12.14.10" "jellyfin.joshuabell.xyz,10.12.14.10" ]; - address = [ - "/h001.local.joshuabell.xyz/10.12.14.10" - ]; # DHCP range and settings dhcp-range = [ diff --git a/hosts/linode/l001/headscale.nix b/hosts/linode/l001/headscale.nix index 8e9a184..73d12bb 100644 --- a/hosts/linode/l001/headscale.nix +++ b/hosts/linode/l001/headscale.nix @@ -26,20 +26,15 @@ in [ - # { - # type = "A"; - # name = "jellyfin.joshuabell.xyz"; - # value = "100.64.0.13"; - # } - h001ARecord "jellyfin" - h001ARecord "media" - h001ARecord "notes" - h001ARecord "chat" - h001ARecord "sso-proxy" - h001ARecord "n8n" - h001ARecord "sso" - h001ARecord "gist" - h001ARecord "git" + (h001ARecord "jellyfin") + (h001ARecord "media") + (h001ARecord "notes") + (h001ARecord "chat") + (h001ARecord "sso-proxy") + (h001ARecord "n8n") + (h001ARecord "sso") + (h001ARecord "gist") + (h001ARecord "git") ]; }; };