Replace hardcoded tailnet name and WiFi SSIDs with private-flake options

Tailnet name (atlas-snares.ts.net) is now sourced from
config.private-flake.tailnetDomain, defined in private-flake's
shared/tailnet.nix and imported by the hetznix01 and nixnuc modules.

WiFi SSIDs for kiosk-* hosts are now set by private-flake's
shared/kiosk.nix via nixosModules.private.kiosk; the hardcoded network
blocks are removed from the kiosk dots configs.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Gene Liverman 2026-05-28 15:07:00 -04:00
parent 840f7b90e6
commit 9298bc7caf
No known key found for this signature in database
7 changed files with 10 additions and 20 deletions

View file

@ -51,7 +51,7 @@ in
enable = true;
configureNginx = true;
environment = {
PHOTON_API_HOST = "nixnuc.atlas-snares.ts.net:2322";
PHOTON_API_HOST = "nixnuc.${config.private-flake.tailnetDomain}:2322";
PHOTON_API_USE_HTTPS = "false";
};
extraEnvFiles = [

View file

@ -51,7 +51,7 @@ in
homeassistant = {
addresses = [
{
address = "homeasistant-lc.atlas-snares.ts.net";
address = "homeasistant-lc.${config.private-flake.tailnetDomain}";
port = 1883;
}
];

View file

@ -3,7 +3,7 @@ let
domain = "technicalissues.us";
http_port = 80;
https_port = 443;
private_btc = "umbrel.atlas-snares.ts.net";
private_btc = "umbrel.${config.private-flake.tailnetDomain}";
in
{

View file

@ -45,13 +45,6 @@
useNetworkd = true;
wireless = {
enable = true;
networks = {
# Home
"Diagon Alley".pskRaw = "ext:psk_diagon_alley";
# Public networks
"Gallery Row-GuestWiFi" = { };
"LocalTies Guest".pskRaw = "ext:psk_local_ties";
};
secretsFile = "${config.sops.secrets.wifi_creds.path}";
};
};

View file

@ -39,13 +39,6 @@
useNetworkd = true;
wireless = {
enable = true;
networks = {
# Home
"Diagon Alley".pskRaw = "ext:psk_diagon_alley";
# Public networks
"Gallery Row-GuestWiFi" = { };
"LocalTies Guest".pskRaw = "ext:psk_local_ties";
};
secretsFile = "${config.sops.secrets.wifi_creds.path}";
};
};