home-manager/tests/modules/files/executable.nix
2023-05-13 00:09:52 +02:00

14 lines
204 B
Nix

{ ... }:
{
home.file."executable" = {
text = "";
executable = true;
};
nmt.script = ''
assertFileExists home-files/executable
assertFileIsExecutable home-files/executable;
'';
}