1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00: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";
}
}
'';
}