1
0
mirror of https://github.com/nix-community/home-manager synced 2024-06-28 17:38:33 +02:00
home-manager/tests/modules/files/hidden-source.nix
2020-02-02 01:07:28 +01:00

20 lines
317 B
Nix

{ 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";
}
}
'';
};
}