mirror of
https://github.com/nix-community/home-manager
synced 2024-11-05 10:49:44 +01:00
19 lines
337 B
Nix
19 lines
337 B
Nix
|
{ config, lib, ... }:
|
||
|
|
||
|
with lib;
|
||
|
|
||
|
{
|
||
|
config = {
|
||
|
home.file."using-text".text = ''
|
||
|
This is the
|
||
|
expected text.
|
||
|
'';
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/using-text
|
||
|
assertFileIsNotExecutable home-files/using-text
|
||
|
assertFileContent home-files/using-text ${./text-expected.txt}
|
||
|
'';
|
||
|
};
|
||
|
}
|