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

15 lines
258 B
Nix

{
pkgs,
...
}:
let
pkg = pkgs.kakoune-unwrapped;
in {
environment.systemPackages = [pkg];
environment.sessionVariables = {
EDITOR = "${pkg}/bin/kak";
VISUAL = "${pkg}/bin/kak";
};
environment.shellAliases = { k = "${pkg}/bin/kak"; };
}