Create jellyfin.nix

This commit is contained in:
ediblerope 2026-01-22 10:45:49 +00:00 committed by GitHub
parent 25891d4b9b
commit fe6f4c01cd
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

13
services/jellyfin.nix Normal file
View file

@ -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" ];
};
}