Loading nixos/modules/services/web-apps/lanraragi.nix +8 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,10 @@ in description = "Port for LANraragi's web interface."; }; openFirewall = lib.mkEnableOption "" // { description = "Open ports in the firewall for the Radarr web interface."; }; passwordFile = lib.mkOption { type = lib.types.nullOr lib.types.path; default = null; Loading Loading @@ -103,5 +107,9 @@ in EOF ''; }; networking.firewall = lib.mkIf cfg.openFirewall { allowedTCPPorts = [ cfg.port ]; }; }; } Loading
nixos/modules/services/web-apps/lanraragi.nix +8 −0 Original line number Diff line number Diff line Loading @@ -22,6 +22,10 @@ in description = "Port for LANraragi's web interface."; }; openFirewall = lib.mkEnableOption "" // { description = "Open ports in the firewall for the Radarr web interface."; }; passwordFile = lib.mkOption { type = lib.types.nullOr lib.types.path; default = null; Loading Loading @@ -103,5 +107,9 @@ in EOF ''; }; networking.firewall = lib.mkIf cfg.openFirewall { allowedTCPPorts = [ cfg.port ]; }; }; }