ark/profiles/develop/editor/helix.nix

16 lines
232 B
Nix
Raw Normal View History

2022-02-18 20:31:01 +03:00
{
pkgs,
...
}:
2021-06-21 21:15:22 +03:00
let
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;
};
environment.shellAliases = { e = bin; };
}