From fbe1dab7783a3d579dc57be8ceee148104e0930b Mon Sep 17 00:00:00 2001 From: NAHO <90870942+trueNAHO@users.noreply.github.com> Date: Wed, 23 Jul 2025 20:48:02 +0200 Subject: [PATCH] stylix: apply stylix.iconTheme option rename to all sub-options (#1744) Link: https://github.com/nix-community/stylix/pull/1744 Fixes: 1021b7d7322c ("stylix: simplify API by renaming stylix.iconTheme option to stylix.icons") Reviewed-by: awwpotato Tested-by: Austin Horstman --- stylix/icons.nix | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/stylix/icons.nix b/stylix/icons.nix index f9725b49..b46bfebb 100644 --- a/stylix/icons.nix +++ b/stylix/icons.nix @@ -5,11 +5,52 @@ from = [ "stylix" "iconTheme" + "dark" ]; sinceRelease = 2511; to = [ "stylix" "icons" + "dark" + ]; + }) + (lib.mkRenamedOptionModuleWith { + from = [ + "stylix" + "iconTheme" + "enable" + ]; + sinceRelease = 2511; + to = [ + "stylix" + "icons" + "enable" + ]; + }) + (lib.mkRenamedOptionModuleWith { + from = [ + "stylix" + "iconTheme" + "light" + ]; + sinceRelease = 2511; + to = [ + "stylix" + "icons" + "light" + ]; + }) + (lib.mkRenamedOptionModuleWith { + from = [ + "stylix" + "iconTheme" + "package" + ]; + sinceRelease = 2511; + to = [ + "stylix" + "icons" + "package" ]; }) ];