diff --git a/services/webservices.nix b/services/nginx.nix similarity index 82% rename from services/webservices.nix rename to services/nginx.nix index d968cdb..4dbce25 100644 --- a/services/webservices.nix +++ b/services/nginx.nix @@ -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" ]; }; }