mirror of
https://github.com/nix-community/home-manager
synced 2024-09-12 06:16:33 +02:00
- Cache update on HM activation removed - freeformType settings - More tests added - Platform-dependent tests - Maintainer added
19 lines
457 B
Nix
19 lines
457 B
Nix
{ config, pkgs, ... }: {
|
|
config = {
|
|
programs.tealdeer = {
|
|
package = config.lib.test.mkStubPackage { name = "tldr"; };
|
|
enable = true;
|
|
};
|
|
|
|
nmt.script = let
|
|
expectedConfDir = if pkgs.stdenv.isDarwin then
|
|
"Library/Application Support"
|
|
else
|
|
".config";
|
|
expectedConfigPath = "home-files/${expectedConfDir}/tealdeer/config.toml";
|
|
in ''
|
|
assertPathNotExists "${expectedConfigPath}"
|
|
'';
|
|
};
|
|
}
|