1
0
mirror of https://github.com/nix-community/home-manager synced 2024-07-03 20:03:29 +02:00
home-manager/tests/modules/files/hidden-source.nix

17 lines
289 B
Nix
Raw Normal View History

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