mirror of
https://github.com/tuxdotrs/nix-config.git
synced 2026-06-17 10:16:31 +05:30
feat: setup zed editor
This commit is contained in:
35
modules/hm/desktop/zed.nix
Normal file
35
modules/hm/desktop/zed.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
@@ -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";
|
||||||
|
|||||||
Reference in New Issue
Block a user