mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 15:11:04 +00:00
1ebbef8642
`--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
19 lines
394 B
Nix
19 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'
|
|
'';
|
|
};
|
|
}
|