mirror of
https://github.com/nix-community/home-manager
synced 2024-09-08 20:36:30 +02:00
`--enable-crypto` is deprecated because crypto is now enabled by default. `--disable-crypto` should be used instead. Fixes https://github.com/nix-community/home-manager/issues/3001
20 lines
394 B
Nix
20 lines
394 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 -f testServer'
|
|
'';
|
|
};
|
|
}
|