1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 03:09:47 +01:00
home-manager/tests/lib/generators/toscfg-err-dir-empty-name.nix
2024-03-15 11:42:17 +01:00

12 lines
286 B
Nix

{ config, lib, ... }:
{
home.file."toscfg-err-dir-empty-name-result.txt".text =
lib.hm.generators.toSCFG { } { "" = [ ]; };
nmt.script = ''
assertFileContent \
home-files/toscfg-err-dir-empty-name-result.txt \
${./toscfg-err-dir-empty-name-result.txt}
'';
}