diff options
author | lassulus <lassulus@lassul.us> | 2021-02-10 16:03:12 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2021-02-10 16:03:12 +0100 |
commit | 7c194fff54ddd96b9ec34de8225e2d76663b4a8b (patch) | |
tree | 5715596fe61f131189a2e5eac681eced399dc0a5 | |
parent | 9d18a8a108e2b3578ebd20b8de9ff01bb9f22930 (diff) |
l yellow.r: enable jellyfin
-rw-r--r-- | lass/1systems/yellow/config.nix | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/lass/1systems/yellow/config.nix b/lass/1systems/yellow/config.nix index 1afad003c..178a5adf1 100644 --- a/lass/1systems/yellow/config.nix +++ b/lass/1systems/yellow/config.nix @@ -152,10 +152,11 @@ with import <stockholm/lib>; krebs.iptables = { enable = true; tables.filter.INPUT.rules = [ - { predicate = "-p tcp --dport 80"; target = "ACCEPT"; } - { predicate = "-p tcp --dport 9091"; target = "ACCEPT"; } - { predicate = "-p tcp --dport 51413"; target = "ACCEPT"; } - { predicate = "-p udp --dport 51413"; target = "ACCEPT"; } + { predicate = "-p tcp --dport 80"; target = "ACCEPT"; } # nginx web dir + { predicate = "-p tcp --dport 9091"; target = "ACCEPT"; } # transmission-web + { predicate = "-p tcp --dport 51413"; target = "ACCEPT"; } # transmission-traffic + { predicate = "-p udp --dport 51413"; target = "ACCEPT"; } # transmission-traffic + { predicate = "-p tcp --dport 8096"; target = "ACCEPT"; } # jellyfin ]; }; @@ -265,4 +266,9 @@ with import <stockholm/lib>; ''; }; }; + + services.jellyfin = { + enable = true; + group = "download"; + }; } |