home-manager/tests/modules/files/disabled.nix
2023-01-26 22:31:16 +01:00

14 lines
190 B
Nix

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