From 8e64ccea7ede1842668397d627dbff1a41097451 Mon Sep 17 00:00:00 2001 From: jolheiser Date: Wed, 15 May 2024 14:39:42 -0500 Subject: [PATCH] feat: zed Signed-off-by: jolheiser --- apps/gui/default.nix | 1 + apps/gui/zed.nix | 19 +++++++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 apps/gui/zed.nix diff --git a/apps/gui/default.nix b/apps/gui/default.nix index 540df4b..c1fd782 100644 --- a/apps/gui/default.nix +++ b/apps/gui/default.nix @@ -8,6 +8,7 @@ ./spotify.nix ./tiny.nix ./wezterm.nix + ./zed.nix ]; home = { packages = with pkgs; [ diff --git a/apps/gui/zed.nix b/apps/gui/zed.nix new file mode 100644 index 0000000..4bc468e --- /dev/null +++ b/apps/gui/zed.nix @@ -0,0 +1,19 @@ +{pkgs, ...}: { + home.packages = [pkgs.zed-editor]; + xdg.configFile."zed/settings.json".text = builtins.toJSON { + buffer_font_family = "Monaspace Neon"; + buffer_font_size = 16; + soft_wrap = "editor_width"; + telemetry = { + diagnostics = false; + metrics = false; + }; + terminal = { + font_family = "Monaspace Neon"; + shell = {program = "nu";}; + }; + theme = "Catppuccin Mocha"; + ui_font_size = 16; + vim_mode = false; + }; +}