1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-27 04:09:47 +01:00
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
'';
}