mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 17:19:45 +01:00
11 lines
240 B
Nix
11 lines
240 B
Nix
{ ... }:
|
|
|
|
{
|
|
home.file."$HOME/$FOO/bar baz".text = "blah";
|
|
|
|
nmt.script = ''
|
|
assertFileExists 'home-files/$HOME/$FOO/bar baz';
|
|
assertFileContent 'home-files/$HOME/$FOO/bar baz' \
|
|
${builtins.toFile "expected" "blah"}
|
|
'';
|
|
}
|