configure helix

This commit is contained in:
TheWanderingCrow 2026-03-18 15:13:42 -04:00
parent 142aff9f22
commit 351a6257d8
2 changed files with 25 additions and 3 deletions

View file

@ -23,13 +23,13 @@ in
./nushell.nix
./starship.nix
./terminal.nix
./helix.nix
];
home.packages = builtins.attrValues {
inherit (pkgs)
screen
ouch
helix
;
};
@ -44,8 +44,8 @@ in
SHELL = "zsh";
TERM = "foot";
TERMINAL = "foot";
VISUAL = "nvim";
EDITOR = "nvim";
VISUAL = "hx";
EDITOR = "hx";
};
};

View file

@ -0,0 +1,22 @@
{
pkgs,
...
}:
{
programs.helix = {
enable = true;
settings = {
theme = "hex_toxic";
};
languages = {
language-server.phpactor = with pkgs; {
command = "${phpactor}/bin/phpactor";
args = ["language-server"];
};
language = [{
name = "php";
language-servers = ["intelephense" "phpactor"];
}];
};
};
}