mirror of
https://github.com/nix-community/home-manager
synced 2024-11-16 16:19:44 +01:00
17 lines
342 B
Nix
17 lines
342 B
Nix
{ ... }:
|
|
|
|
{
|
|
services.barrier.client = {
|
|
enable = true;
|
|
server = "testServer";
|
|
};
|
|
|
|
test.stubs.barrier = { };
|
|
|
|
nmt.script = ''
|
|
clientServiceFile=home-files/.config/systemd/user/barrierc.service
|
|
|
|
assertFileExists $clientServiceFile
|
|
assertFileRegex $clientServiceFile 'ExecStart=.*/bin/barrierc -f testServer'
|
|
'';
|
|
}
|