12 lines
224 B
Nix
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;};
|
|
}
|