2eafb8192e
GitOrigin-RevId: 176e455371a8371586e8a3ff0d56ee9f3ca2324e
18 lines
440 B
Nix
18 lines
440 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
home.file.testfile.text = "not special";
|
|
specialization.test.configuration = {
|
|
home.file.testfile.text = "very special";
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/testfile
|
|
assertFileContains home-files/testfile "not special"
|
|
|
|
assertFileExists specialization/test/home-files/testfile
|
|
assertFileContains specialization/test/home-files/testfile "not special"
|
|
'';
|
|
}
|