ark/profiles/develop/editor/kakoune.nix

15 lines
258 B
Nix
Raw Normal View History

2020-12-28 18:05:28 +03:00
{ pkgs, ... }:
let
pkg = pkgs.kakoune-unwrapped;
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
}