2eafb8192e
GitOrigin-RevId: 176e455371a8371586e8a3ff0d56ee9f3ca2324e
19 lines
366 B
Nix
19 lines
366 B
Nix
{ 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
|
|
'';
|
|
}
|