Files
dart/modules/home/zed.nix
2026-02-16 23:53:39 -07:00

58 lines
1.0 KiB
Nix

{ pkgs, lib, ... }:
{
programs.zed-editor = {
enable = true;
package = lib.mkForce (pkgs.runCommand "zed-stub" { } "mkdir -p $out");
extensions = [
"nix"
"dracula"
"catppuccin-icons"
"toml"
"elixir"
"make"
"astro"
"vue"
"latex"
"mermaid"
"docker"
"docker-compose"
];
userSettings = {
icon_theme = "Catppuccin Macchiato";
title_bar = {
show_sign_in = false;
};
collaboration_panel = {
button = false;
};
status_bar = {
cursor_position_button = false;
};
disable_ai = true;
telemetry = {
diagnostics = false;
metrics = false;
};
ui_font_size = 16;
buffer_font_size = 15;
theme = {
mode = "system";
light = "One Light";
dark = "Dracula";
};
languages = {
"Nix" = {
language_servers = [
"nil"
"nixd"
];
format_on_save = "on";
};
};
};
};
}