ark/profiles/develop/editor/helix.nix
2021-06-21 21:15:22 +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; };
}