mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-01 14:41:03 +01:00
18 lines
457 B
Nix
18 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}"
|
|
'';
|
|
};
|
|
}
|