1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-30 13:49:47 +01: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

16 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
'';
}