home-manager/tests/modules/programs/yazi/init-lua-string.nix
2024-07-03 23:36:14 +02:00

15 lines
230 B
Nix

{ ... }: {
programs.yazi = {
enable = true;
initLua = builtins.readFile ./init.lua;
};
test.stubs.yazi = { };
nmt.script = ''
assertFileContent home-files/.config/yazi/init.lua \
${./init.lua}
'';
}