mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-21 17:59:39 +01:00
19 lines
385 B
Nix
19 lines
385 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
|
|
'';
|
|
}
|