cfcd52ff70
GitOrigin-RevId: 70c5b268e10025c70823767f4fb49e240b40151d
19 lines
410 B
Nix
19 lines
410 B
Nix
{ config, pkgs, ... }:
|
|
|
|
{
|
|
config = {
|
|
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 --enable-crypto -f testServer'
|
|
'';
|
|
};
|
|
}
|