From ae6de9e7e6b72c35fb498719c1e0adc419ad2dbd Mon Sep 17 00:00:00 2001 From: Chris Kruining Date: Sun, 23 Mar 2025 21:36:37 +0100 Subject: [PATCH] update some conf --- modules/home/desktop/editors/zed.nix | 17 +++++++++-------- modules/home/desktop/plasma.nix | 5 +++-- 2 files changed, 12 insertions(+), 10 deletions(-) diff --git a/modules/home/desktop/editors/zed.nix b/modules/home/desktop/editors/zed.nix index 68fe3a4..e1ca75c 100644 --- a/modules/home/desktop/editors/zed.nix +++ b/modules/home/desktop/editors/zed.nix @@ -10,35 +10,36 @@ in { config = mkIf cfg.enable { home-manager.users.${user} = { - home.packages = with pkgs; [ + home.packages = with pkgs; [ zed-editor nixd nil alejandra ]; programs.zed-editor = { enable = true; - + 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 = { + autoArchive = true; formatting = { command = ["alejandra" "--quiet" "--"]; }; @@ -48,7 +49,7 @@ in { }; }; }; - + languages = { "Nix" = { language_servers = ["nixd" "nil"]; diff --git a/modules/home/desktop/plasma.nix b/modules/home/desktop/plasma.nix index 9417208..0f5b3ef 100644 --- a/modules/home/desktop/plasma.nix +++ b/modules/home/desktop/plasma.nix @@ -162,8 +162,9 @@ in launchers = [ "preferred://filemanager" "preferred://browser" - "preferred://terminal" - "preferred://editor" + "preferred://terminalemulator" + "preferred://email" + "applications:zed.desktop" "applications:vesktop.desktop" "applications:steam.desktop" ];