mirror of
https://github.com/nix-community/home-manager
synced 2024-12-22 02:53:16 +00:00
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"$'
|
||
|
'';
|
||
|
};
|
||
|
}
|