Disable ollama secret
This commit is contained in:
parent
7e22a7708e
commit
cbdf31ee89
1 changed files with 2 additions and 2 deletions
|
|
@ -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",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue