open firewall for ollama
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{ pkgs, ... }@all: with all;
|
||||
{ config, pkgs, ... }@all: with all;
|
||||
{
|
||||
# sops.secrets = {
|
||||
# "wireless-networking.env" = {};
|
||||
@@ -15,6 +15,7 @@
|
||||
};
|
||||
enableIPv6 = true;
|
||||
firewall.allowedTCPPorts = [
|
||||
(pkgs.lib.mkIf config.services.ollama.enable 11434)
|
||||
80
|
||||
443
|
||||
8000
|
||||
|
||||
Reference in New Issue
Block a user