feat: setup zed editor

This commit is contained in:
tux
2026-05-07 17:58:48 +05:30
parent 1824de4b0a
commit 351d3b44f6
2 changed files with 35 additions and 5 deletions

View File

@@ -0,0 +1,35 @@
{
flake.modules.homeManager.desktop = {
programs.zed-editor = {
enable = true;
extensions = [
"lua"
"nix"
"C#"
"solidity"
];
userKeymaps = [
{
context = "Workspace";
bindings = {
F7 = "workspace::NewTerminal";
};
}
];
userSettings = {
ui_font_size = 18;
buffer_font_size = 18;
theme = {
mode = "dark";
light = "Ayu Light";
dark = "Ayu Dark";
};
vim_mode = true;
telemetry = {
diagnostics = false;
metrics = false;
};
};
};
};
}

View File

@@ -72,11 +72,6 @@
# --- Programs --- # --- Programs ---
programs.firefox.enable = true; programs.firefox.enable = true;
# --- Packages ---
environment.systemPackages = with pkgs; [
zed-editor
];
# !!! DO NOT CHANGE THIS !!! # !!! DO NOT CHANGE THIS !!!
# This should match the version used at initial install. # This should match the version used at initial install.
system.stateVersion = "26.05"; system.stateVersion = "26.05";