From 59268a713c2168c82c36803cf7cf8afe2a9ce5fd Mon Sep 17 00:00:00 2001 From: KoenDR06 Date: Wed, 11 Jun 2025 15:00:18 +0200 Subject: [PATCH] switched to helix --- modules/apps/terminal.nix | 2 +- modules/apps/terminal/helix.nix | 24 ++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 1 deletion(-) create mode 100644 modules/apps/terminal/helix.nix diff --git a/modules/apps/terminal.nix b/modules/apps/terminal.nix index d832a36..b7c9ed2 100644 --- a/modules/apps/terminal.nix +++ b/modules/apps/terminal.nix @@ -18,7 +18,7 @@ in { config = mkIf cfg.enable { home-manager.users.${homeCfg.username} = { - imports = [./terminal/neovim.nix]; + imports = [./terminal/helix.nix]; }; services.lorri.enable = true; diff --git a/modules/apps/terminal/helix.nix b/modules/apps/terminal/helix.nix new file mode 100644 index 0000000..a7b2bfd --- /dev/null +++ b/modules/apps/terminal/helix.nix @@ -0,0 +1,24 @@ +{ + config, + lib, + pkgs, + ... +}: { + programs.helix = { + enable = true; + settings = { + theme = "catppuccin_macchiato"; + editor.cursor-shape = { + normal = "block"; + insert = "bar"; + select = "underline"; + }; + }; + languages.language = [ + { + name = "nix"; + auto-format = false; + } + ]; + }; +}