From d8e7484dd3ab83a71772e876920aabfafeee40bd Mon Sep 17 00:00:00 2001 From: Ingolf Wagner Date: Sun, 28 May 2023 23:12:34 +0200 Subject: [PATCH] add media-audiobookshelf.nix --- nixos/machines/chungus/media-audiobookshelf.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nixos/machines/chungus/media-audiobookshelf.nix b/nixos/machines/chungus/media-audiobookshelf.nix index 4076a40..4d3303a 100644 --- a/nixos/machines/chungus/media-audiobookshelf.nix +++ b/nixos/machines/chungus/media-audiobookshelf.nix @@ -6,8 +6,8 @@ with pkgs; users.audiobookshelf.group = "media"; }; - networking.firewall.interfaces.wg0.allowedTCPPorts = [ 8000 ]; - networking.firewall.interfaces.wg0.allowedUDPPorts = [ 8000 ]; + networking.firewall.allowedTCPPorts = [ 8000 ]; + networking.firewall.allowedUDPPorts = [ 8000 ]; systemd.services.audiobookshelf = { enable = true;