ark/modules/develop/editor/helix.nix
2022-04-09 21:33:13 +03:00

12 lines
224 B
Nix

{pkgs, ...}: let
pkg = pkgs.helix;
bin = "${pkg}/bin/hx";
in {
environment.systemPackages = [pkg];
environment.sessionVariables = {
EDITOR = bin;
VISUAL = bin;
};
environment.shellAliases = {e = bin;};
}