mirror of
https://github.com/nix-community/home-manager
synced 2024-11-14 15:19:45 +01:00
16 lines
299 B
Nix
16 lines
299 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
home.file."$HOME/$FOO/bar baz".text = "blah";
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists 'home-files/$HOME/$FOO/bar baz';
|
||
|
assertFileContent 'home-files/$HOME/$FOO/bar baz' \
|
||
|
${pkgs.writeText "expected" "blah"}
|
||
|
'';
|
||
|
};
|
||
|
}
|