mirror of
https://github.com/genebean/dots.git
synced 2026-05-31 07:45:20 -04:00
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:
parent
840f7b90e6
commit
9298bc7caf
7 changed files with 10 additions and 20 deletions
|
|
@ -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 = [
|
||||
|
|
|
|||
|
|
@ -51,7 +51,7 @@ in
|
|||
homeassistant = {
|
||||
addresses = [
|
||||
{
|
||||
address = "homeasistant-lc.atlas-snares.ts.net";
|
||||
address = "homeasistant-lc.${config.private-flake.tailnetDomain}";
|
||||
port = 1883;
|
||||
}
|
||||
];
|
||||
|
|
|
|||
|
|
@ -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
|
||||
{
|
||||
|
||||
|
|
|
|||
|
|
@ -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}";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
|
|
@ -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}";
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue