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;
|
||||
config = {
|
||||
networking.firewall.allowedTCPPorts = lib.mkIf (!cfg.isLocal) [ cfg.port ];
|
||||
# always opening port to upload books
|
||||
networking.firewall.allowedTCPPorts = [ cfg.port ];
|
||||
services = {
|
||||
audiobookshelf = lib.mkIf cfg.enable {
|
||||
inherit (cfg) port;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user