File tree Expand file tree Collapse file tree 3 files changed +48
-62
lines changed
modules/home-manager/programs/editors Expand file tree Collapse file tree 3 files changed +48
-62
lines changed Original file line number Diff line number Diff line change 6060 url = "github:NixOs/nixpkgs?rev=2d068ae5c6516b2d04562de50a58c682540de9bf" ;
6161 } ;
6262
63- nixpkgs-zed = {
64- url = "github:NixOs/nixpkgs?rev=39b98eae0a643db212439f7198f4901d3b12cbd6 " ;
65- } ;
63+ # nixpkgs-zed = {
64+ # url = "github:NixOs/nixpkgs";
65+ # };
6666
6767 anyrun = {
6868 url = "github:anyrun-org/anyrun" ;
8282 stylix ,
8383 nixvim ,
8484 sops-nix ,
85- nixpkgs-zed ,
85+ # nixpkgs-zed,
8686 chaotic ,
8787 ...
8888 } @ inputs : let
103103 inherit system ;
104104 } ;
105105
106- zedNixPkgs = import inputs . nixpkgs-zed {
107- inherit system ;
108- } ;
106+ # zedNixPkgs = import inputs.nixpkgs-zed {
107+ # inherit system;
108+ # };
109109
110110 users = {
111111 dan = {
204204 inherit pkgs ;
205205 extraSpecialArgs = {
206206 # these args are passed to the other home-manager modules
207- inherit user inputs vsCodeExtensionsPythonPinnedPkgs zedNixPkgs ;
207+ inherit user inputs vsCodeExtensionsPythonPinnedPkgs ; # zedNixpkgs
208208 host-settings = import ./modules/settings/${ host } ;
209209 userConfig = user-configs . ${ user } ;
210210 } ;
Original file line number Diff line number Diff line change 150150 features = {
151151 edit_prediction_provider = "zed" ; # alternative: "copilot"
152152 } ;
153- assistant = {
153+ agent = {
154154 enabled = true ;
155- version = "2" ;
155+ always_allow_tool_actions = true ;
156156 default_model = {
157- provider = "copilot_chat" ;
158- model = "gpt-4o" ;
157+ provider = "anthropic" ;
158+ model = "claude-sonnet-4" ;
159+ } ;
160+ inline_assistant_model = {
161+ provider = "anthropic" ;
162+ model = "claude-sonnet-4" ;
159163 } ;
160- always_allow_tool_actions = true ;
161164 inline_alternatives = [
162165 {
163166 provider = "zed.dev" ;
164- model = "claude-3-5-sonnet-latest" ;
165- }
166- {
167- provider = "zed.dev" ;
168- model = "gpt-4o" ;
169- }
170- {
171- provider = "copilot_chat" ;
172- model = "o1-preview" ;
167+ model = "gpt-5" ;
173168 }
174169 ] ;
175170 } ;
171+ language_models = {
172+ anthropic = {
173+ available_models = [
174+ {
175+ name = "claude-sonnet-4" ;
176+ display_name = "Claude Sonnet 4" ;
177+ max_tokens = 128000 ;
178+ max_output_tokens = 2560 ;
179+ }
180+ ] ;
181+ } ;
182+ } ;
176183 context_servers = {
177184 nixos = {
178- command = {
179- path = "uvx" ;
180- args = [ "mcp-nixos" ] ;
181- } ;
185+ command = "uvx" ;
186+ args = [ "mcp-nixos" ] ;
182187 } ;
183188 kubernetes = {
184- command = {
185- path = "npx" ;
186- args = [ "mcp-server-kubernetes" ] ;
187- } ;
189+ command = "npx" ;
190+ args = [ "mcp-server-kubernetes" ] ;
188191 } ;
189192 } ;
190193 } ;
You can’t perform that action at this time.
0 commit comments