diff --git a/modules/home/desktop/editors/zed.nix b/modules/home/desktop/editors/zed.nix index 347c8e8..3ddf800 100644 --- a/modules/home/desktop/editors/zed.nix +++ b/modules/home/desktop/editors/zed.nix @@ -11,53 +11,53 @@ in { config = mkIf cfg.enable { home-manager.users.${user} = { home.packages = with pkgs; [ - zed-editor - ]; + zed-editor + ]; programs.zed-editor = { - enable = true; - - extraPackages = with pkgs; [ nixd nil alejandra ]; - extensions = ["nix" "toml" "html"]; - - userSettings = { - assistant.enabled = false; - - vim_mode = false; - load_direnv = "shell_hook"; - base_keymap = "JetBrains"; - - tabs = { - file_icons = true; - git_status = true; - }; - project_panel.auto_reveal_entries = false; - - hour_format = "hour24"; - auto_update = false; - - lsp = { - nixd = {}; - nil = { - initialization_options = { - formatting = { - command = ["alejandra" "--quiet" "--"]; + enable = true; + + extraPackages = with pkgs; [ nixd nil alejandra ]; + extensions = ["nix" "toml" "html"]; + + userSettings = { + assistant.enabled = false; + + vim_mode = false; + load_direnv = "shell_hook"; + base_keymap = "JetBrains"; + + tabs = { + file_icons = true; + git_status = true; + }; + project_panel.auto_reveal_entries = false; + + hour_format = "hour24"; + auto_update = false; + + lsp = { + nixd = {}; + nil = { + initialization_options = { + formatting = { + command = ["alejandra" "--quiet" "--"]; + }; + }; + binary = { + path_lookup = true; }; }; - binary = { - path_lookup = true; - }; }; - }; - - languages = { - "Nix" = { - language_servers = ["nixd" "nil"]; - format_on_save = "on"; + + languages = { + "Nix" = { + language_servers = ["nixd" "nil"]; + format_on_save = "on"; + }; }; }; }; }; - }; }; }