From d4a80f26bf24e9abae2eb039464f0d3e3a1fb701 Mon Sep 17 00:00:00 2001 From: Austin Horstman Date: Sat, 22 Nov 2025 14:07:47 -0600 Subject: [PATCH] syncthing: use mkPackageOption tray package Signed-off-by: Austin Horstman --- modules/services/syncthing.nix | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/modules/services/syncthing.nix b/modules/services/syncthing.nix index 0d13db2e5..9f1953991 100644 --- a/modules/services/syncthing.nix +++ b/modules/services/syncthing.nix @@ -756,12 +756,9 @@ in description = "Syncthing tray command to use."; }; - package = mkOption { - type = types.package; - default = pkgs.syncthingtray-minimal; - defaultText = literalExpression "pkgs.syncthingtray-minimal"; - example = literalExpression "pkgs.qsyncthingtray"; - description = "Syncthing tray package to use."; + package = lib.mkPackageOption pkgs "syncthingtray" { + default = "syncthingtray-minimal"; + example = "qsyncthingtray"; }; }; };