From afe124a726624e9ed45394147ac780af67bfce5e Mon Sep 17 00:00:00 2001 From: Jack O'Sullivan Date: Sun, 19 Nov 2023 23:50:24 +0000 Subject: [PATCH] nixos/stream: Remove public IPv4 --- nixos/boxes/home/routing-common/dns.nix | 2 ++ nixos/boxes/home/stream.nix | 6 +----- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/nixos/boxes/home/routing-common/dns.nix b/nixos/boxes/home/routing-common/dns.nix index b7b6bc9..24b0523 100644 --- a/nixos/boxes/home/routing-common/dns.nix +++ b/nixos/boxes/home/routing-common/dns.nix @@ -43,6 +43,8 @@ in settings = { query-local-address = [ + # TODO: IPv6 + "0.0.0.0" # TODO: Dynamic IPv4 WAN address? # assignments.internal.ipv4.address # assignments.internal.ipv6.address diff --git a/nixos/boxes/home/stream.nix b/nixos/boxes/home/stream.nix index f371523..7a938de 100644 --- a/nixos/boxes/home/stream.nix +++ b/nixos/boxes/home/stream.nix @@ -94,16 +94,12 @@ }; }; - services = { - pdns-recursor.settings.query-local-address = [ "109.255.252.104" ]; - }; - my = { secrets = { key = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIPYTB4zeAqotrEJ8M+AiGm/s9PFsWlAodz3hYSROGuDb"; }; server.enable = true; - deploy.node.hostname = "109.255.252.104"; + deploy.node.hostname = "192.168.72.2"; }; }; };