ark/profiles/develop/editor/kakoune.nix
2022-03-09 23:55:02 +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";};
}