mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-06 09:01:04 +01:00
19 lines
345 B
Nix
19 lines
345 B
Nix
{
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
configDir =
|
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
|
"Library/Application Support/numbat"
|
|
else
|
|
".config/numbat";
|
|
in
|
|
{
|
|
programs.numbat.enable = true;
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists 'home-files/${configDir}/config.toml'
|
|
assertPathNotExists 'home-files/${configDir}/init.nbt'
|
|
'';
|
|
}
|