Modules/Helix: Undeprecate and enable helix

This commit is contained in:
2026-07-02 11:18:05 +02:00
parent 4f2486ae4a
commit b78a1b6e88
4 changed files with 9 additions and 7 deletions
+1
View File
@@ -18,6 +18,7 @@
# because it forces en-US keyboard layout. # because it forces en-US keyboard layout.
fcitx.enable = true; fcitx.enable = true;
helix.enable = true;
waybar.monitors = ["DP-1" "DP-2"]; waybar.monitors = ["DP-1" "DP-2"];
vscode.enable = true; vscode.enable = true;
zed.enable = true; zed.enable = true;
+1
View File
@@ -15,6 +15,7 @@
./firefox ./firefox
./fish ./fish
./git ./git
./helix
./jellyfin-tui ./jellyfin-tui
./kitty ./kitty
./lazygit ./lazygit
@@ -15,10 +15,10 @@ in {
options.homemodules.helix = import ./options.nix {inherit lib mylib;}; options.homemodules.helix = import ./options.nix {inherit lib mylib;};
config = mkIf cfg.enable { config = mkIf cfg.enable {
home.sessionVariables = { # home.sessionVariables = {
EDITOR = "hx"; # EDITOR = "hx";
VISUAL = "hx"; # VISUAL = "hx";
}; # };
programs.helix = { programs.helix = {
enable = true; enable = true;
@@ -40,11 +40,11 @@ in {
# https://docs.helix-editor.com/configuration.html # https://docs.helix-editor.com/configuration.html
settings = { settings = {
theme = "catppuccin_latte"; theme = "catppuccin_mocha";
editor = { editor = {
scrolloff = 10; scrolloff = 10;
mouse = false; # Default true mouse = true;
middle-click-paste = false; # Default true middle-click-paste = true;
line-number = "relative"; line-number = "relative";
cursorline = true; cursorline = true;
color-modes = true; color-modes = true;