From 5c8bf490c26d0a8cac78733b8d06b3be8ddc0740 Mon Sep 17 00:00:00 2001 From: Salar Rahmanian Date: Sun, 10 Nov 2024 20:50:48 -0800 Subject: [PATCH] add zed editor --- programs/default.nix | 1 + programs/zed/default.nix | 27 +++++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 programs/zed/default.nix diff --git a/programs/default.nix b/programs/default.nix index 5c225bf..de08b9e 100644 --- a/programs/default.nix +++ b/programs/default.nix @@ -5,4 +5,5 @@ ./tmux ./wezterm ./vscode + ./zed ] diff --git a/programs/zed/default.nix b/programs/zed/default.nix new file mode 100644 index 0000000..b551409 --- /dev/null +++ b/programs/zed/default.nix @@ -0,0 +1,27 @@ +{ ... }: +let + myextensions = [ + "fish" + "lua" + "nix" + "ruff" + "scala" + "sql" + "swift" + "toml" + ]; +in +{ + programs.zed-editor = { + enable = true; + extensions = myextensions; + userSettings = { + features = { + copilot = true; + }; + telemetry.metrics = false; + theme = "Andromeda"; + vim_mode = true; + }; + }; +}