2023-05-13 00:08:12 +02:00
|
|
|
{ ... }:
|
2021-04-29 02:48:05 +02:00
|
|
|
|
|
|
|
{
|
2023-05-13 00:08:12 +02:00
|
|
|
services.barrier.client = {
|
|
|
|
enable = true;
|
|
|
|
server = "testServer";
|
|
|
|
};
|
2021-04-29 02:48:05 +02:00
|
|
|
|
2023-05-13 00:08:12 +02:00
|
|
|
test.stubs.barrier = { };
|
2021-04-29 02:48:05 +02:00
|
|
|
|
2023-05-13 00:08:12 +02:00
|
|
|
nmt.script = ''
|
|
|
|
clientServiceFile=home-files/.config/systemd/user/barrierc.service
|
2021-04-29 02:48:05 +02:00
|
|
|
|
2023-05-13 00:08:12 +02:00
|
|
|
assertFileExists $clientServiceFile
|
|
|
|
assertFileRegex $clientServiceFile 'ExecStart=.*/bin/barrierc -f testServer'
|
|
|
|
'';
|
2021-04-29 02:48:05 +02:00
|
|
|
}
|