From b28e5da9c2d176f128c910fc072641ba8ad0d077 Mon Sep 17 00:00:00 2001 From: Martin Berg Alstad Date: Sun, 7 Sep 2025 13:34:45 +0200 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20[shared/desktop]=20Catppuccin=20for?= =?UTF-8?q?=20Zed=20using=20flake?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../desktop/home-manager/development/zed.nix | 21 ++++++++----------- 1 file changed, 9 insertions(+), 12 deletions(-) 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" ]; }; };