1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-09 20:59:44 +01:00
home-manager/tests/modules/programs/watson/empty-settings.nix

20 lines
366 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
{
programs.watson = {
enable = true;
package = config.lib.test.mkStubPackage { };
};
nmt.script = let
configDir = if pkgs.stdenv.hostPlatform.isDarwin then
"home-files/Library/Application Support"
else
"home-files/.config";
in ''
assertPathNotExists ${configDir}/watson/config
'';
}