From 24b3f041264e11aa45cb093d6a78de3aa8b1a572 Mon Sep 17 00:00:00 2001 From: NullBite Date: Tue, 25 Jun 2024 04:56:27 -0400 Subject: [PATCH] rpi4: open mDNS port --- hosts/rpi4/services.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/hosts/rpi4/services.nix b/hosts/rpi4/services.nix index 3aa6145..404a43c 100644 --- a/hosts/rpi4/services.nix +++ b/hosts/rpi4/services.nix @@ -120,6 +120,9 @@ storageDriver = "btrfs"; }; + # needed for mDNS in Home Assistant + networking.firewall.allowedUDPPorts = [ 5353 ]; + systemd.services.libreddit.environment = { LIBREDDIT_DEFAULT_SUBSCRIPTIONS = lib.pipe ./reddit-subscriptions.txt [ builtins.readFile