From 3bddab5f6720178323c37a19516ddb2b7b902f2a Mon Sep 17 00:00:00 2001 From: Franziska Kunsmann Date: Wed, 3 Jan 2024 12:59:21 +0100 Subject: [PATCH] bundles/arch-with-gui: ensure we have avahi installed and running --- bundles/arch-with-gui/items.py | 5 +++++ bundles/arch-with-gui/metadata.py | 9 +++++++++ 2 files changed, 14 insertions(+) diff --git a/bundles/arch-with-gui/items.py b/bundles/arch-with-gui/items.py index 9d3d911..67702b2 100644 --- a/bundles/arch-with-gui/items.py +++ b/bundles/arch-with-gui/items.py @@ -44,6 +44,11 @@ directories = { } svc_systemd = { + 'avahi-daemon': { + 'needs': { + 'pkg_pacman:avahi', + }, + }, 'sddm': { 'needs': { 'pkg_pacman:sddm', diff --git a/bundles/arch-with-gui/metadata.py b/bundles/arch-with-gui/metadata.py index 4666cca..d75d8e1 100644 --- a/bundles/arch-with-gui/metadata.py +++ b/bundles/arch-with-gui/metadata.py @@ -9,6 +9,14 @@ defaults = { 'icinga_options': { 'exclude_from_monitoring': True, }, + 'nftables': { + 'input': { + '50-avahi': { + 'udp dport 5353 accept', + 'udp sport 5353 accept', + }, + }, + }, 'pacman': { 'packages': { # fonts @@ -23,6 +31,7 @@ defaults = { 'sddm': {}, # networking + 'avahi': {}, 'netctl': {}, 'rfkill': {}, 'wpa_supplicant': {},