Files
proxy-suite-flake/modules/proxy-suite/options/tray.nix
T
2026-09-15 00:15:53 +05:00

20 lines
446 B
Nix

{ lib, ... }:
let
p =
path:
[
"services"
"proxy-suite"
]
++ lib.splitString "." path;
in
{
# The tray indicator became Proxy Suite GUI, which has the tray icon built in.
imports = [
(lib.mkRenamedOptionModule (p "tray.enable") (p "gui.enable"))
(lib.mkRenamedOptionModule (p "tray.autostart") (p "gui.autostart"))
(lib.mkRenamedOptionModule (p "tray.pollInterval") (p "gui.refreshInterval"))
];
}