mirror of
https://github.com/nix-community/home-manager
synced 2024-12-27 12:19:48 +01:00
barrier: remove tray
option (#2215)
barrier's --no-tray CLI parameter is non-functional and so the option has been removed.
This commit is contained in:
parent
addc78bea0
commit
f6f6990fc8
1 changed files with 6 additions and 3 deletions
|
@ -6,6 +6,12 @@ in {
|
|||
|
||||
meta.maintainers = with maintainers; [ kritnich ];
|
||||
|
||||
imports = [
|
||||
(mkRemovedOptionModule [ "services" "barrier" "client" "tray" ] ''
|
||||
The tray option is non-functional and has been removed.
|
||||
'')
|
||||
];
|
||||
|
||||
options.services.barrier = {
|
||||
|
||||
client = {
|
||||
|
@ -29,8 +35,6 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
tray = mkEnableOption "the system tray icon" // { default = true; };
|
||||
|
||||
enableCrypto = mkEnableOption "crypto (SSL) plugin" // {
|
||||
default = true;
|
||||
};
|
||||
|
@ -66,7 +70,6 @@ in {
|
|||
Service.ExecStart = with cfg.client;
|
||||
toString ([ "${pkgs.barrier}/bin/barrierc" ]
|
||||
++ optional (name != null) "--name ${name}"
|
||||
++ optional (!tray) "--no-tray"
|
||||
++ optional enableCrypto "--enable-crypto"
|
||||
++ optional enableDragDrop "--enable-drag-drop" ++ extraFlags
|
||||
++ [ server ]);
|
||||
|
|
Loading…
Reference in a new issue