home-manager/tests/modules/files/executable.nix

18 lines
262 B
Nix
Raw Normal View History

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