1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00
home-manager/tests/modules/files/hidden-source.nix
2020-02-02 01:07:28 +01:00

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