diff --git a/darwin/kuro/configuration.nix b/darwin/kuro/configuration.nix index bccd11dc..c49fb60b 100644 --- a/darwin/kuro/configuration.nix +++ b/darwin/kuro/configuration.nix @@ -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 = '' diff --git a/home/programs/aichat.nix b/home/programs/aichat.nix index 6e569cc3..f23179d9 100644 --- a/home/programs/aichat.nix +++ b/home/programs/aichat.nix @@ -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"; diff --git a/neovim/default.nix b/neovim/default.nix index 48ccf5a5..37f5511f 100644 --- a/neovim/default.nix +++ b/neovim/default.nix @@ -495,10 +495,12 @@ in { gopls.enable = true; nil_ls = { enable = true; - settings.formatting.command = [ - "${pkgs.alejandra}/bin/alejandra" - ]; - # nix.flake.autoArchive = true; + settings = { + formatting.command = [ + "${pkgs.alejandra}/bin/alejandra" + ]; + nix.flake.autoArchive = true; + }; }; marksman.enable = true; neocmake.enable = true;