summaryrefslogtreecommitdiff
path: root/home-manager/helix.nix
diff options
context:
space:
mode:
authorDevin Finlinson <devin.finlinson@pm.me>2023-09-30 03:52:11 -0600
committerDevin Finlinson <devin.finlinson@pm.me>2023-09-30 03:52:11 -0600
commitd9e3d1977e79ea36da7bc615699b67f431913c23 (patch)
tree3627bb75e08a8a88c3706e9d8b96751fbf62143f /home-manager/helix.nix
parent8f317ee332fffe934ec8bf61a77efc1eb57bb9df (diff)
adding theming and config from ryan4yin nix-config on git
Diffstat (limited to 'home-manager/helix.nix')
-rw-r--r--home-manager/helix.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/home-manager/helix.nix b/home-manager/helix.nix
new file mode 100644
index 0000000..a8891a5
--- /dev/null
+++ b/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;
+ };
+ };
+ };
+}