diff --git a/flake.lock b/flake.lock index a8b20d2..fd664ce 100644 --- a/flake.lock +++ b/flake.lock @@ -49,11 +49,11 @@ "rust-overlay": "rust-overlay" }, "locked": { - "lastModified": 1778337824, - "narHash": "sha256-sJ6+Y9t4cIt6LItBb8ZTMQC2bBlQ1NIwrak2dM6HHI4=", + "lastModified": 1782110001, + "narHash": "sha256-SKZpwWIYaXnuRP0N5yXezO9v6iaLHndyKEqoBxgc5Bs=", "owner": "yuezk", "repo": "GlobalProtect-openconnect", - "rev": "7d63836e3571bf6fa800261621da6e78841913c0", + "rev": "b3f4ba0a32bb4bad4c843d77be11163dc0f47ffa", "type": "github" }, "original": { @@ -69,11 +69,11 @@ ] }, "locked": { - "lastModified": 1781319724, - "narHash": "sha256-ZGuxexEMo4Xv28KJ0dX/m/PHN4oZIOnxHZpNTyrvx4M=", + "lastModified": 1781981105, + "narHash": "sha256-/1nNBbA7PrSQpTc9Qazkhl4kIPg+TNl0CjxS3UQJKlw=", "owner": "nix-community", "repo": "home-manager", - "rev": "8355f0a16b2dbb06a97959a918af5b239bbe05ae", + "rev": "7bfff44b465909f69a442701293bc0badcf476dc", "type": "github" }, "original": { @@ -110,11 +110,11 @@ "systems": "systems_2" }, "locked": { - "lastModified": 1781586586, - "narHash": "sha256-djG2iMYs5Tacuajzu8UhN1/Yguwqu+RLV0VD/zpgW1I=", + "lastModified": 1782104972, + "narHash": "sha256-ENPhFUyGFPBqyWz6PrMgMdhfYbGiP6mN1OoFqXk4ThQ=", "owner": "nix-community", "repo": "nix4vscode", - "rev": "bb34985f108485f9a74455a09d99ca58127c2950", + "rev": "e004df53d9c4f5eaa41f5bf3b44c0d71fd090aed", "type": "github" }, "original": { @@ -173,11 +173,11 @@ }, "nixpkgs_4": { "locked": { - "lastModified": 1781216227, - "narHash": "sha256-9mUW6gNwoN2SWc/l0fW4svPNOulXLl8ijqKyeSOGgJE=", + "lastModified": 1781808408, + "narHash": "sha256-0sOb6OIaD/K1zHxBhpmlKvkADfe0n8+l4Jj2e1Q0r3w=", "owner": "nixos", "repo": "nixpkgs", - "rev": "a0374025a863d007d98e3297f6aa46cc3141c2f0", + "rev": "e8210c649915deed7080033cdbabcc19e40bb899", "type": "github" }, "original": { diff --git a/home/alex/default.nix b/home/alex/default.nix index 7a0d57c..fff11cb 100644 --- a/home/alex/default.nix +++ b/home/alex/default.nix @@ -22,6 +22,7 @@ ../modules/typst.nix ../modules/vscode.nix ../modules/yazi.nix + ../modules/zed.nix ../modules/zellij.nix ../modules/zig.nix ../modules/zoom.nix diff --git a/home/modules/zed.nix b/home/modules/zed.nix new file mode 100644 index 0000000..be6ee8f --- /dev/null +++ b/home/modules/zed.nix @@ -0,0 +1,49 @@ +{ pkgs, ... }: +{ + programs.zed-editor = { + enable = true; + package = pkgs.zed-editor-fhs; + mutableUserSettings = true; + + userSettings = { + git_panel.tree_view = false; + project_panel = { + sort_order = "lower"; + diagnostic_badges = true; + git_status_indicator = true; + scrollbar.show = "always"; + dock = "left"; + }; + calls.mute_on_join = true; + proxy = ""; + agent = { + flexible = false; + enable_feedback = false; + sidebar_side = "right"; + favorite_models = [ ]; + model_parameters = [ ]; + }; + disable_ai = true; + edit_predictions.allow_data_collection = "no"; + languages.Python = { + line_ending = "enforce_lf"; + preferred_line_length = 88; + }; + colorize_brackets = true; + middle_click_paste = false; + show_completion_documentation = false; + show_completions_on_input = false; + use_autoclose = true; + toolbar.agent_review = false; + helix_mode = true; + telemetry = { + diagnostics = false; + metrics = false; + }; + session.trust_all_worktrees = false; + ui_font_size = 16; + buffer_font_size = 15; + theme = "One Dark"; + }; + }; +}