diff --git a/shared/desktop/home-manager/development/zed.nix b/shared/desktop/home-manager/development/zed.nix index 88bc5a4..5767507 100644 --- a/shared/desktop/home-manager/development/zed.nix +++ b/shared/desktop/home-manager/development/zed.nix @@ -1,13 +1,20 @@ { pkgs, theme, ... }: { + catppuccin.zed = { + enable = true; + flavor = theme.flavor; + icons = { + enable = true; + flavor = theme.flavor; + }; + }; + programs.zed-editor = { enable = true; package = pkgs.unstable.zed-editor; extensions = [ "html" - "catppuccin" - "catppuccin-icons" "toml" "nix" "git-firefly" @@ -33,11 +40,6 @@ features = { edit_prediction_provider = "zed"; }; - icon_theme = { - mode = theme.mode; - light = "Catppuccin Latte"; - dark = "Catppuccin Mocha"; - }; ui_font_family = font; ui_font_size = fontSize; buffer_font_size = fontSize; @@ -45,11 +47,6 @@ file_icons = true; git_status = true; }; - theme = { - mode = theme.mode; - light = "Catppuccin Latte"; - dark = "Catppuccin Mocha"; - }; lsp.nil.initialization_options.formatting.command = [ "nixfmt" ]; }; };