depot/third_party/home-manager/tests/modules/files/disabled.nix

15 lines
190 B
Nix
Raw Normal View History

{ ... }:
{
home.file."disabled" = {
enable = false;
text = ''
This file should not exist
'';
};
nmt.script = ''
assertPathNotExists home-files/disabled
'';
}