home-manager/tests/modules/programs/tealdeer/default-settings.nix

13 lines
263 B
Nix
Raw Normal View History

{ config, ... }: {
config = {
programs.tealdeer = {
package = config.lib.test.mkStubPackage { name = "tldr"; };
enable = true;
};
nmt.script = ''
assertFileRegex activate '/nix/store/.*tealdeer.*/bin/tldr --update'
'';
};
}