diff --git a/nixos/modules/services/misc/llama-cpp.nix b/nixos/modules/services/misc/llama-cpp.nix index c2d267a1bc98..80a6ab17b0ce 100644 --- a/nixos/modules/services/misc/llama-cpp.nix +++ b/nixos/modules/services/misc/llama-cpp.nix @@ -164,7 +164,7 @@ in }; }; - networking.firewall.allowedTCPPorts = lib.optional cfg.openFirewall cfg.port; + networking.firewall.allowedTCPPorts = lib.optional cfg.openFirewall cfg.settings.port; }; meta.maintainers = with lib.maintainers; [