Home

helix.drv @ca81e960f7faf55a686e2d5cb24e40840e85cc3d - refs - log -
-
https://git.jolheiser.com/helix.drv.git
My Helix configuration as a Nix derivation
helix.drv / config / 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
43
44
45
46
47
{
  pkgs ? import <nixpkgs> { },
}:
{
  ignore = [
    ".idea/"
    "result"
    "node_modules/"
    "dist/"
  ];
  settings = {
    theme = "catppuccin_mocha_transparent";
    editor = {
      line-number = "relative";
      mouse = false;
      bufferline = "always";
      color-modes = true;
      cursor-shape = {
        insert = "bar";
        normal = "block";
        select = "underline";
      };
      file-picker.hidden = false;
      indent-guides = {
        render = true;
        skip-levels = 1;
      };
      soft-wrap.enable = true;
      statusline = {
        right = [
          "version-control"
          "diagnostics"
          "selections"
          "position"
          "file-encoding"
        ];
      };
      end-of-line-diagnostics = "hint";
      inline-diagnostics.cursor-line = "error";
      lsp.display-messages = true;
    };
    keys = import ./keys.nix { inherit pkgs; };
  };
  languages = import ./languages.nix { inherit pkgs; };
  themes = import ./themes.nix { inherit pkgs; };
  grammars = import ./grammars.nix { inherit pkgs; };
}