opening audiobookshelf port
This commit is contained in:
parent
7c196d7365
commit
2e776fb9ad
@ -6,7 +6,8 @@ in
|
|||||||
{
|
{
|
||||||
options.my.servers.audiobookshelf = setup.mkOptions "audiobookshelf" "audiobooks" 5687;
|
options.my.servers.audiobookshelf = setup.mkOptions "audiobookshelf" "audiobooks" 5687;
|
||||||
config = {
|
config = {
|
||||||
networking.firewall.allowedTCPPorts = lib.mkIf (!cfg.isLocal) [ cfg.port ];
|
# always opening port to upload books
|
||||||
|
networking.firewall.allowedTCPPorts = [ cfg.port ];
|
||||||
services = {
|
services = {
|
||||||
audiobookshelf = lib.mkIf cfg.enable {
|
audiobookshelf = lib.mkIf cfg.enable {
|
||||||
inherit (cfg) port;
|
inherit (cfg) port;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user