mirror of
https://github.com/nix-community/home-manager
synced 2024-11-17 00:29:45 +01: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"$'
|
||
|
'';
|
||
|
};
|
||
|
}
|