feat: add jellyfin

- move jellyfin & plex to services/
- disable plex
This commit is contained in:
Felix Schröter 2020-08-15 00:18:21 +02:00
parent 7259999f4f
commit 104204ef74
No known key found for this signature in database
GPG key ID: 910ACB9F6BD26F58
3 changed files with 8 additions and 1 deletions

7
services/jellyfin.nix Normal file
View file

@ -0,0 +1,7 @@
{ config, pkgs, ... }:
{
services.jellyfin.enable = true;
services.jellyfin.user = "felschr";
networking.firewall.allowedTCPPorts = [ 8920 8096 1900 7359 ];
}

7
services/plex.nix Normal file
View file

@ -0,0 +1,7 @@
{ config, pkgs, ... }:
{
services.plex.enable = true;
services.plex.openFirewall = true;
services.plex.user = "felschr";
}