summary refs log tree commit diff stats
path: root/system/settings
diff options
context:
space:
mode:
authorAlan Pearce2020-08-26 14:05:30 +0200
committerAlan Pearce2020-08-26 14:05:30 +0200
commit36257b88baa227337e9ea70df9e8bb8318adafca (patch)
treeac0db3c709c6aa903c59d026b81c1263f83c8516 /system/settings
parent9958179f026bf5e604d16c8b6188a95fd422de2a (diff)
downloadnixfiles-36257b88baa227337e9ea70df9e8bb8318adafca.tar.lz
nixfiles-36257b88baa227337e9ea70df9e8bb8318adafca.tar.zst
nixfiles-36257b88baa227337e9ea70df9e8bb8318adafca.zip
zeroconf: enable publishing
The previous config only enabled looking up other hosts.

Now other hosts can ping this one.
Diffstat (limited to 'system/settings')
-rw-r--r--system/settings/services/zeroconf.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/system/settings/services/zeroconf.nix b/system/settings/services/zeroconf.nix
index 0b428c54..98bde1da 100644
--- a/system/settings/services/zeroconf.nix
+++ b/system/settings/services/zeroconf.nix
@@ -4,6 +4,13 @@
     enable = true;
     nssmdns = true;
     ipv6 = true;
+    publish = {
+      enable = true;
+      addresses = true;
+      domain = true;
+      userServices = true;
+      workstation = true;
+    };
   };
   systemd.services.avahi-daemon.wantedBy = lib.mkForce [];
   systemd.timers.avahi-daemon = {