1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-01 08:49:44 +01:00
home-manager/tests/lib/generators/toscfg-empty.nix

12 lines
233 B
Nix
Raw Normal View History

2023-11-11 10:19:45 +01: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}
'';
}