Update and rename webservices.nix to nginx.nix

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

View file

@ -1,3 +1,4 @@
#nginx.nix
{ config, pkgs, lib, ... }:
{
config = lib.mkIf (config.networking.hostName == "FredOS-Mediaserver") {
@ -29,13 +30,5 @@
# Open firewall
networking.firewall.allowedTCPPorts = [ 80 81 443 ];
# Jellyfin
services.jellyfin = {
enable = true;
openFirewall = true;
};
# Also add jellyfin to media group for reading
users.users.jellyfin.extraGroups = [ "media" ];
};
}