chore: add nixd to zed

Signed-off-by: jolheiser <git@jolheiser.com>
homepage
jolheiser 2024-08-19 21:38:32 -05:00
parent 43519a2400
commit 3a79d0f661
No known key found for this signature in database
1 changed files with 7 additions and 3 deletions

View File

@ -2,7 +2,11 @@
let
zed-fhs = pkgs.buildFHSUserEnv {
name = "zed";
targetPkgs = pkgs: [ pkgs.zed-editor ];
targetPkgs =
pkgs: with pkgs; [
zed-editor
nixd
];
runScript = "zed";
};
in
@ -11,7 +15,7 @@ in
xdg.configFile = {
"zed/settings.json".text = builtins.toJSON {
buffer_font_family = "Monaspace Neon";
buffer_font_size = 16;
buffer_font_size = 13;
soft_wrap = "editor_width";
telemetry = {
diagnostics = false;
@ -24,7 +28,7 @@ in
};
};
theme = "Catppuccin Mocha";
ui_font_size = 16;
ui_font_size = 15;
vim_mode = true;
relative_line_numbers = true;
vim = {