ark/modules/develop/editor/kakoune.nix
2022-04-09 21:33:13 +03:00

11 lines
250 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";};
}