summary refs log tree commit diff stats
path: root/system
diff options
context:
space:
mode:
authorAlan Pearce2024-05-31 00:23:47 +0200
committerAlan Pearce2024-05-31 00:23:47 +0200
commitf2950bc0c8cab32de1cdcb5cdde00d5db3dbf10f (patch)
tree7fa984e5955770c6702bc8982f0d9e73fca3f4a3 /system
parent822aa69ea26feb343432c96f3d7a930ae4bdb69d (diff)
downloadnixfiles-f2950bc0c8cab32de1cdcb5cdde00d5db3dbf10f.tar.lz
nixfiles-f2950bc0c8cab32de1cdcb5cdde00d5db3dbf10f.tar.zst
nixfiles-f2950bc0c8cab32de1cdcb5cdde00d5db3dbf10f.zip
nanopi: rename home-assistant host but keep cname from "ha"
Diffstat (limited to 'system')
-rwxr-xr-xsystem/nanopi.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/system/nanopi.nix b/system/nanopi.nix
index a95d9dc0..60c3fa9a 100755
--- a/system/nanopi.nix
+++ b/system/nanopi.nix
@@ -483,7 +483,7 @@ in
       ];
       localise-queries = true;
       cname = [
-        "homeassistant,ha"
+        "ha,home-assistant"
       ];
       interface-name = [
         "nanopi.${domain},bridge0"
@@ -521,7 +521,7 @@ in
         "10:f0:68:12:b1:e0,10.0.0.11,Ruckus"
         "9c:93:4e:ad:05:c8,10.0.0.210,xerox-b210"
         "00:08:9b:f5:b8:25,10.0.0.42,dontpanic"
-        "d8:3a:dd:34:85:cc,d8:3a:dd:34:85:cd,10.0.0.81,ha"
+        "d8:3a:dd:34:85:cc,d8:3a:dd:34:85:cd,10.0.0.81,home-assistant"
       ];
       dhcp-option = [
         "option:ntp-server,0.0.0.0"