Home

zed.drv @74f99a4d60e3d40b004289d2de642cf79ce8e2fd - refs - log -
-
https://git.jolheiser.com/zed.drv.git
My Zed configuration as a Nix derivation
zed.drv / settings / default.nix
- raw -
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{ pkgs }:
let
  extensions = [
    "catppuccin"
    "catppuccin-icons"
    "harper"
    "html"
    "jsonnet"
    "marksman"
    "nix"
    "nu"
    "sql"
    "templ"
    "toml"
  ];
in
{
  auto_install_extensions = pkgs.lib.genAttrs extensions (e: true);
  auto_update = false;
  base_keymap = "JetBrains";
  collaboration_panel.button = false;
  languages = import ./languages.nix { inherit pkgs; };
  lsp = import ./lsp.nix { inherit pkgs; };
  minimap.show = "auto";
  tabs = {
    file_icons = true;
    git_status = true;
    show_diagnostics = "errors";
  };
  telemetry = {
    diagnostics = false;
    metrics = false;
  };
  icon_theme = {
    dark = "Catppuccin Mocha";
    light = "Catppuccin Latte";
  };
  theme = {
    dark = "Catppuccin Mocha";
    light = "Catppuccin Latte";
  };
}