mirror of
https://github.com/nix-community/home-manager
synced 2024-11-10 07:04:17 +00:00
barrier: change enableCrypto
behaviour
`--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
This commit is contained in:
parent
206ded407e
commit
1ebbef8642
2 changed files with 2 additions and 2 deletions
|
@ -70,7 +70,7 @@ in {
|
|||
Service.ExecStart = with cfg.client;
|
||||
toString ([ "${pkgs.barrier}/bin/barrierc" ]
|
||||
++ optional (name != null) "--name ${name}"
|
||||
++ optional enableCrypto "--enable-crypto"
|
||||
++ optional (!enableCrypto) "--disable-crypto"
|
||||
++ optional enableDragDrop "--enable-drag-drop" ++ extraFlags
|
||||
++ [ server ]);
|
||||
};
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
clientServiceFile=home-files/.config/systemd/user/barrierc.service
|
||||
|
||||
assertFileExists $clientServiceFile
|
||||
assertFileRegex $clientServiceFile 'ExecStart=.*/bin/barrierc --enable-crypto -f testServer'
|
||||
assertFileRegex $clientServiceFile 'ExecStart=.*/bin/barrierc -f testServer'
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue