From 1c3d04cc5b3776b1f4331009b61f81965b25d9b3 Mon Sep 17 00:00:00 2001 From: Dave Gallant Date: Thu, 28 Aug 2025 16:06:56 -0400 Subject: [PATCH] Add zed-editor --- home.nix | 14 ++++++++++++++ hosts/hephaestus.nix | 1 - 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/home.nix b/home.nix index b4099c4..38cd596 100644 --- a/home.nix +++ b/home.nix @@ -390,6 +390,20 @@ in ++ lib.optionals stdenv.isLinux [ ms-python.python ]; }; + zed-editor = { + enable = true; + package = unstable.zed-editor; + userSettings = { + features = { + edit_prediction_provider = "zed"; + }; + vim_mode = true; + ui_font_size = lib.mkForce 24; + buffer_font_size = lib.mkForce 22; + autosave = "on_focus_change"; + }; + }; + firefox = { enable = stdenv.isLinux; diff --git a/hosts/hephaestus.nix b/hosts/hephaestus.nix index 80011f3..eec6bc6 100644 --- a/hosts/hephaestus.nix +++ b/hosts/hephaestus.nix @@ -27,7 +27,6 @@ in sha256 = "Ztqn9+CHslr6wZdnOTeo/YNi/ICerpcFLyMArsZ/PIY="; }; polarity = "dark"; - fonts.sizes.desktop = 24; }; security.sudo-rs = {