summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/home/jellyfin.nix
diff options
context:
space:
mode:
Diffstat (limited to 'makefu/2configs/home/jellyfin.nix')
-rw-r--r--makefu/2configs/home/jellyfin.nix34
1 files changed, 0 insertions, 34 deletions
diff --git a/makefu/2configs/home/jellyfin.nix b/makefu/2configs/home/jellyfin.nix
deleted file mode 100644
index e613a05fc..000000000
--- a/makefu/2configs/home/jellyfin.nix
+++ /dev/null
@@ -1,34 +0,0 @@
-{ lib, config, ... }:
-let
- port = 8096;
-in
-{
- services.jellyfin.enable = true;
- # services.jellyfin.openFirewall = true;
- networking.firewall.interfaces.wiregrill = {
- allowedTCPPorts = [ 80 port 8920 ];
- allowedUDPPorts = [ 1900 7359 ];
- };
- state = [ "/var/lib/jellyfin" ];
- users.users.${config.services.jellyfin.user}.extraGroups = [ "download" "video" "render" ];
-
- systemd.services.jellyfin = {
- after = [ "media-cloud.mount" ];
- serviceConfig = rec {
- RequiresMountFor = [ "/media/cloud" ];
- SupplementaryGroups = lib.mkForce [ "video" "render" "download" ];
- UMask = lib.mkForce "0077";
- };
- };
- services.nginx.virtualHosts."jelly" = {
- serverAliases = [
- "jelly.lan" "movies.lan"
- "jelly.makefu.w" "makefu.omo.w"
- ];
-
- locations."/" = {
- proxyPass = "http://localhost:${toString port}";
- proxyWebsockets = true;
- };
- };
-}