diff --git a/home-pc.nix b/home-pc.nix index 05e5a55..4922549 100644 --- a/home-pc.nix +++ b/home-pc.nix @@ -10,7 +10,7 @@ ./system ./desktop ./virtualisaiton/docker.nix - ./plex.nix + ./services/jellyfin.nix ]; nixpkgs.config.allowUnfree = true; diff --git a/services/jellyfin.nix b/services/jellyfin.nix new file mode 100644 index 0000000..f2e90d5 --- /dev/null +++ b/services/jellyfin.nix @@ -0,0 +1,7 @@ +{ config, pkgs, ... }: + +{ + services.jellyfin.enable = true; + services.jellyfin.user = "felschr"; + networking.firewall.allowedTCPPorts = [ 8920 8096 1900 7359 ]; +} diff --git a/plex.nix b/services/plex.nix similarity index 100% rename from plex.nix rename to services/plex.nix