ark/profiles/develop/editor/kakoune.nix

15 lines
258 B
Nix
Raw Normal View History

2022-02-18 20:31:01 +03:00
{
pkgs,
...
}:
2020-12-28 18:05:28 +03:00
let
pkg = pkgs.kakoune-unwrapped;
2022-02-18 20:31:01 +03:00
in {
environment.systemPackages = [pkg];
2020-11-21 23:54:07 +03:00
environment.sessionVariables = {
2020-12-28 18:05:28 +03:00
EDITOR = "${pkg}/bin/kak";
VISUAL = "${pkg}/bin/kak";
2020-11-21 23:54:07 +03:00
};
2020-12-28 18:05:28 +03:00
environment.shellAliases = { k = "${pkg}/bin/kak"; };
2020-11-21 23:54:07 +03:00
}