mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 09:09:45 +01:00
17 lines
289 B
Nix
17 lines
289 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"; }
|
||
|
}
|
||
|
'';
|
||
|
};
|
||
|
}
|