1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-01 10:58:31 +02:00
home-manager/tests/modules/programs/kakoune/use-plugins.nix
Robert Helgesson 2917ef23b3
kakoune: clean up tests
- Enable use-plugins test.

- Stub out `kakoune-unwrapped` to avoid unnecessary downloads.

- Unwrap unnecessary `config` attributes.
2021-11-07 09:43:42 +01:00

17 lines
262 B
Nix

{ config, lib, pkgs, ... }:
with lib;
{
imports = [ ./stubs.nix ];
programs.kakoune = {
enable = true;
plugins = [ pkgs.kakounePlugins.prelude-kak ];
};
nmt.script = ''
assertDirectoryNotEmpty home-path/share/kak/autoload/plugins
'';
}