1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00
home-manager/tests/modules/files/hidden-source.nix
2023-05-13 00:09:52 +02:00

15 lines
255 B
Nix

{ ... }:
{
home.file.".hidden".source = ./.hidden;
nmt.script = ''
assertFileExists home-files/.hidden;
assertFileContent home-files/.hidden ${
builtins.path {
path = ./.hidden;
name = "expected";
}
}
'';
}