From d9e3d1977e79ea36da7bc615699b67f431913c23 Mon Sep 17 00:00:00 2001 From: Devin Finlinson Date: Sat, 30 Sep 2023 03:52:11 -0600 Subject: adding theming and config from ryan4yin nix-config on git --- home-manager/helix.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 home-manager/helix.nix (limited to 'home-manager/helix.nix') 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; + }; + }; + }; +} -- cgit v1.2.3