mirror of
https://github.com/nix-community/home-manager
synced 2024-11-08 12:19:43 +01:00
6b28ab2d79
Calls 'tldr --update' on home-manager switch
12 lines
263 B
Nix
12 lines
263 B
Nix
{ config, ... }: {
|
|
config = {
|
|
programs.tealdeer = {
|
|
package = config.lib.test.mkStubPackage { name = "tldr"; };
|
|
enable = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileRegex activate '/nix/store/.*tealdeer.*/bin/tldr --update'
|
|
'';
|
|
};
|
|
}
|