2022-04-18 21:44:20 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
{
|
|
|
|
home.file.testfile.text = "not special";
|
2023-06-13 08:44:30 +02:00
|
|
|
specialisation.test.configuration = {
|
2022-04-18 21:44:20 +02:00
|
|
|
home.file.testfile.text = "very special";
|
|
|
|
};
|
|
|
|
|
|
|
|
nmt.script = ''
|
|
|
|
assertFileExists home-files/testfile
|
|
|
|
assertFileContains home-files/testfile "not special"
|
|
|
|
|
2023-06-13 08:44:30 +02:00
|
|
|
assertFileExists specialisation/test/home-files/testfile
|
|
|
|
assertFileContains specialisation/test/home-files/testfile "not special"
|
2022-04-18 21:44:20 +02:00
|
|
|
'';
|
|
|
|
}
|