diff --git a/dotfiles/home-manager/desktop/apps/zed.nix b/dotfiles/home-manager/desktop/apps/zed.nix new file mode 100644 index 00000000..607b1d08 --- /dev/null +++ b/dotfiles/home-manager/desktop/apps/zed.nix @@ -0,0 +1,15 @@ +{ ... }: { + programs.zed-editor = { + # https://mynixos.com/home-manager/options/programs.zed-editor + enable = true; + extensions = [ "Nix" "Catppuccin" ]; + userSettings = { + languages."Nix"."language_servers" = [ "!nil" "nixd" ]; + theme = { + mode = "system"; + dark = "Catppuccin Mocha"; + light = "Catppuccin Mocha"; + }; + }; + }; +} diff --git a/dotfiles/home-manager/desktop/home.nix b/dotfiles/home-manager/desktop/home.nix index 3fee252d..ed2abb1c 100644 --- a/dotfiles/home-manager/desktop/home.nix +++ b/dotfiles/home-manager/desktop/home.nix @@ -6,6 +6,7 @@ ./configuration/keys.nix ./configuration/defaultApps.nix ./configuration/mangohud.nix + ./apps/zed.nix ./apps/browser.nix ./apps/discord.nix ./apps/obs-studio.nix