Modules/Helix: Undeprecate and enable helix
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
@@ -15,6 +15,7 @@
|
|||||||
./firefox
|
./firefox
|
||||||
./fish
|
./fish
|
||||||
./git
|
./git
|
||||||
|
./helix
|
||||||
./jellyfin-tui
|
./jellyfin-tui
|
||||||
./kitty
|
./kitty
|
||||||
./lazygit
|
./lazygit
|
||||||
|
|||||||
+7
-7
@@ -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;
|
||||||
Reference in New Issue
Block a user