home-manager/tests/lib/generators/toscfg-empty.nix
2024-03-15 11:42:17 +01:00

11 lines
233 B
Nix

{ 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}
'';
}