ark/modules/develop/editor/helix.nix

12 lines
224 B
Nix
Raw Normal View History

2022-03-09 23:55:02 +03:00
{pkgs, ...}: let
2021-06-21 21:15:22 +03:00
pkg = pkgs.helix;
bin = "${pkg}/bin/hx";
2022-02-18 20:31:01 +03:00
in {
environment.systemPackages = [pkg];
2021-06-21 21:15:22 +03:00
environment.sessionVariables = {
EDITOR = bin;
VISUAL = bin;
};
2022-03-09 23:55:02 +03:00
environment.shellAliases = {e = bin;};
2021-06-21 21:15:22 +03:00
}