diff --git a/services/jellyfin.nix b/services/jellyfin.nix new file mode 100644 index 0000000..f6082f5 --- /dev/null +++ b/services/jellyfin.nix @@ -0,0 +1,13 @@ +#jellyfin.nix +{ config, pkgs, lib, ... }: +{ + config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") { + # Jellyfin + services.jellyfin = { + enable = true; + openFirewall = true; + }; + + users.users.jellyfin.extraGroups = [ "media" ]; + }; +}