✨ [shared/desktop] Catppuccin for Zed using flake
This commit is contained in:
@ -1,13 +1,20 @@
|
|||||||
{ pkgs, theme, ... }:
|
{ pkgs, theme, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
|
catppuccin.zed = {
|
||||||
|
enable = true;
|
||||||
|
flavor = theme.flavor;
|
||||||
|
icons = {
|
||||||
|
enable = true;
|
||||||
|
flavor = theme.flavor;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
programs.zed-editor = {
|
programs.zed-editor = {
|
||||||
enable = true;
|
enable = true;
|
||||||
package = pkgs.unstable.zed-editor;
|
package = pkgs.unstable.zed-editor;
|
||||||
extensions = [
|
extensions = [
|
||||||
"html"
|
"html"
|
||||||
"catppuccin"
|
|
||||||
"catppuccin-icons"
|
|
||||||
"toml"
|
"toml"
|
||||||
"nix"
|
"nix"
|
||||||
"git-firefly"
|
"git-firefly"
|
||||||
@ -33,11 +40,6 @@
|
|||||||
features = {
|
features = {
|
||||||
edit_prediction_provider = "zed";
|
edit_prediction_provider = "zed";
|
||||||
};
|
};
|
||||||
icon_theme = {
|
|
||||||
mode = theme.mode;
|
|
||||||
light = "Catppuccin Latte";
|
|
||||||
dark = "Catppuccin Mocha";
|
|
||||||
};
|
|
||||||
ui_font_family = font;
|
ui_font_family = font;
|
||||||
ui_font_size = fontSize;
|
ui_font_size = fontSize;
|
||||||
buffer_font_size = fontSize;
|
buffer_font_size = fontSize;
|
||||||
@ -45,11 +47,6 @@
|
|||||||
file_icons = true;
|
file_icons = true;
|
||||||
git_status = true;
|
git_status = true;
|
||||||
};
|
};
|
||||||
theme = {
|
|
||||||
mode = theme.mode;
|
|
||||||
light = "Catppuccin Latte";
|
|
||||||
dark = "Catppuccin Mocha";
|
|
||||||
};
|
|
||||||
lsp.nil.initialization_options.formatting.command = [ "nixfmt" ];
|
lsp.nil.initialization_options.formatting.command = [ "nixfmt" ];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user