all repos — nixfiles @ 36257b88baa227337e9ea70df9e8bb8318adafca

System and user configuration, managed by nix and home-manager

zeroconf: enable publishing

The previous config only enabled looking up other hosts.

Now other hosts can ping this one.
Alan Pearce alan@alanpearce.eu
Wed, 26 Aug 2020 14:05:30 +0200
commit

36257b88baa227337e9ea70df9e8bb8318adafca

parent

9958179f026bf5e604d16c8b6188a95fd422de2a

1 files changed, 7 insertions(+), 0 deletions(-)

jump to
M system/settings/services/zeroconf.nixsystem/settings/services/zeroconf.nix
@@ -4,6 +4,13 @@ { services.avahi = {     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 = {