mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08:00
(cherry picked from commit 3cb08dd360)
Signed-off-by: Austin Horstman <khaneliman12@gmail.com>
17 lines
379 B
Nix
17 lines
379 B
Nix
{ pkgs, ... }:
|
|
let
|
|
configDir =
|
|
if pkgs.stdenv.hostPlatform.isDarwin then
|
|
"Library/Application Support/nvchecker"
|
|
else
|
|
".config/nvchecker";
|
|
in
|
|
{
|
|
programs.nvchecker.enable = true;
|
|
|
|
nmt.script = ''
|
|
assertFileExists "home-files/${configDir}/nvchecker.toml"
|
|
assertFileContent "home-files/${configDir}/nvchecker.toml" "${./empty-config.toml}"
|
|
'';
|
|
}
|