Disable ollama secret

This commit is contained in:
Filippo Berto 2025-02-14 16:52:53 +01:00
parent 7e22a7708e
commit cbdf31ee89
Signed by: bertof
GPG key ID: 9DBF7E6A1D2CE9ED

View file

@ -1,4 +1,4 @@
{ pkgs, nixosConfig, ... }: { pkgs, ... }:
let let
vp = pkgs.vimPlugins; vp = pkgs.vimPlugins;
in in
@ -402,8 +402,8 @@ in
{ {
plugin = vp.ollama-nvim; plugin = vp.ollama-nvim;
type = "lua"; type = "lua";
# local token = readAll("${nixosConfig.age.secrets.ollama.path}")
config = '' config = ''
local token = readAll("${nixosConfig.age.secrets.ollama.path}")
local conf = { local conf = {
-- url = string.format("https://bertof:%s@ollama.ricerca.sesar.di.unimi.it/", token), -- url = string.format("https://bertof:%s@ollama.ricerca.sesar.di.unimi.it/", token),
model = "codegemma:7b", model = "codegemma:7b",