ark/modules/develop/editor/kakoune.nix

11 lines
250 B
Nix
Raw Normal View History

2022-03-09 23:55:02 +03:00
{pkgs, ...}: let
2020-12-28 18:05:28 +03:00
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
};
2022-03-09 23:55:02 +03:00
environment.shellAliases = {k = "${pkg}/bin/kak";};
2020-11-21 23:54:07 +03:00
}