nix/hosts/laptop-server/config/services/jellyseerr/default.nix

25 lines
693 B
Nix
Raw Normal View History

{ ... }:
{
containers.jellyseerr = {
config = { pkgs, ... }: {
system.stateVersion = "25.11";
services.jellyseerr = {
enable = true;
package = pkgs.jellyseerr;
};
# Firewall on the host system is enough + this firewall seems to break networking
networking.firewall.enable = false;
networking.resolvconf.enable = false;
};
autoStart = true;
};
networking = {
firewall.trustedInterfaces = [ "ve-jellyseerr" ];
nat.internalInterfaces = [ "ve-jellyseerr" ];
networkmanager.unmanaged = [ "interface-name:ve-jellyseerr" ];
};
}