19 lines
391 B
Nix
19 lines
391 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
programs.kakoune = {
|
||
|
enable = true;
|
||
|
plugins = [ pkgs.kakounePlugins.kak-powerline ];
|
||
|
};
|
||
|
|
||
|
nmt.script = let plugins_kak = "home-path/share/kak/plugins.kak";
|
||
|
in ''
|
||
|
assertFileRegex ${plugins_kak} \
|
||
|
'^source "/nix/store/.*-kak-powerline/share/kak/autoload/plugins/powerline/.*.kak"$'
|
||
|
'';
|
||
|
};
|
||
|
}
|