diff --git a/modules/services/barrier.nix b/modules/services/barrier.nix index 5b34e1af..7eaecc30 100644 --- a/modules/services/barrier.nix +++ b/modules/services/barrier.nix @@ -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 ]);