parent
c59f0eac51
commit
7efca2ca18
4 changed files with 24 additions and 1 deletions
|
|
@ -1,4 +1,5 @@
|
|||
{
|
||||
files-disabled = ./disabled.nix;
|
||||
files-executable = ./executable.nix;
|
||||
files-hidden-source = ./hidden-source.nix;
|
||||
files-out-of-store-symlink = ./out-of-store-symlink.nix;
|
||||
|
|
|
|||
14
tests/modules/files/disabled.nix
Normal file
14
tests/modules/files/disabled.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
|||
{ ... }:
|
||||
|
||||
{
|
||||
home.file."disabled" = {
|
||||
enable = false;
|
||||
text = ''
|
||||
This file should not exist
|
||||
'';
|
||||
};
|
||||
|
||||
nmt.script = ''
|
||||
assertPathNotExists home-files/disabled
|
||||
'';
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue