home-manager/tests/lib/generators/toscfg-empty.nix

12 lines
233 B
Nix
Raw Normal View History

2023-11-11 09:19:45 +00:00
{ config, lib, ... }:
{
home.file."toscfg-empty-result.txt".text = lib.hm.generators.toSCFG { } { };
nmt.script = ''
assertFileContent \
home-files/toscfg-empty-result.txt \
${./toscfg-empty-result.txt}
'';
}