mirror of
https://github.com/nix-community/home-manager.git
synced 2025-03-10 18:57:22 +00:00
15 lines
349 B
Nix
15 lines
349 B
Nix
{ config, pkgs, ... }: {
|
|
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
|
|
'';
|
|
}
|