ark/profiles/develop/editor/kakoune.nix
2021-05-24 22:39:44 +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"; };
}