nix-config/home/editor.nix
2026-05-07 15:50:47 +02:00

35 lines
677 B
Nix

{ pkgs, ... }:
{
home.packages = with pkgs; [
zed-editor
nil # nix config syntax
nixd # nix config syntax
];
programs.zed-editor = {
enable = true;
extensions = [
"html"
"nix"
"typst"
];
userSettings = {
agent.dock = "right";
git_panel.dock = "right";
outline_panel.dock = "left";
project_panel.dock = "left";
telemetry = {
diagnostics = false;
metrics = false;
};
base_keymap = "JetBrains";
ui_font_size = 16;
buffer_font_size = 15;
theme = {
mode = "system";
light = "One Light";
dark = "One Dark";
};
};
};
}