ark/profiles/develop/editor/helix.nix
2022-02-18 20:31:01 +03:00

16 lines
232 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; };
}