1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00
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
'';
}