feat: Added nil_ls and added lmstudio to aichat
This commit is contained in:
@@ -15,11 +15,11 @@
|
||||
trusted-users = ["root" "fs0c131y"];
|
||||
substituters = [
|
||||
"https://nix-community.cachix.org"
|
||||
"https://sh.darksailor.dev"
|
||||
# "https://sh.darksailor.dev"
|
||||
];
|
||||
trusted-public-keys = [
|
||||
"nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs="
|
||||
"mirai:bcVPoFGBZ0i7JAKMXIqLj2GY3CulLC4kP7rQyqes1RM="
|
||||
# "mirai:bcVPoFGBZ0i7JAKMXIqLj2GY3CulLC4kP7rQyqes1RM="
|
||||
];
|
||||
};
|
||||
extraOptions = ''
|
||||
|
||||
@@ -99,6 +99,17 @@
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "openai-compatible";
|
||||
name = "LMStudio";
|
||||
api_base = "http://localhost:1234/v1";
|
||||
models = [
|
||||
{
|
||||
name = "openai/gpt-oss-20b";
|
||||
type = "chat";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
type = "openai";
|
||||
name = "openai";
|
||||
|
||||
@@ -495,10 +495,12 @@ in {
|
||||
gopls.enable = true;
|
||||
nil_ls = {
|
||||
enable = true;
|
||||
settings.formatting.command = [
|
||||
settings = {
|
||||
formatting.command = [
|
||||
"${pkgs.alejandra}/bin/alejandra"
|
||||
];
|
||||
# nix.flake.autoArchive = true;
|
||||
nix.flake.autoArchive = true;
|
||||
};
|
||||
};
|
||||
marksman.enable = true;
|
||||
neocmake.enable = true;
|
||||
|
||||
Reference in New Issue
Block a user