diff options
Diffstat (limited to 'modules/home-manager/helix.nix')
| -rw-r--r-- | modules/home-manager/helix.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/modules/home-manager/helix.nix b/modules/home-manager/helix.nix new file mode 100644 index 0000000..a8891a5 --- /dev/null +++ b/modules/home-manager/helix.nix @@ -0,0 +1,25 @@ +{ pkgs, catppuccin-helix, ... }: { + # https://github.com/catppuccin/helix + xdg.configFile."helix/themes".source = "${catppuccin-helix}/themes/default"; + + programs.helix = { + enable = true; + package = pkgs.helix; + # defaultEditor = true; + settings = { + theme = "catppuccin_mocha"; + editor = { + line-number = "relative"; + cursorline = true; + color-modes = true; + lsp.display-messages = true; + cursor.shape = { + insert = "bar"; + normal = "block"; + select = "underline"; + }; + indent-guides.render = true; + }; + }; + }; +} |
