From 093087e969e2ecfe1175dbf3cbc5c8624fde1c1e Mon Sep 17 00:00:00 2001 From: awwpotato Date: Sat, 31 May 2025 11:17:32 -0700 Subject: [PATCH] stylix: add imports to mkTarget (#1363) Link: https://github.com/nix-community/stylix/pull/1363 Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com> --- stylix/mk-target.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/stylix/mk-target.nix b/stylix/mk-target.nix index acd0b5d9..96603173 100644 --- a/stylix/mk-target.nix +++ b/stylix/mk-target.nix @@ -156,6 +156,7 @@ extraOptions ? { }, configElements ? [ ], generalConfig ? null, + imports ? [ ], }: let module = @@ -208,6 +209,8 @@ let c; in { + inherit imports; + options.stylix.targets.${name}.enable = config.lib.stylix.mkEnableTarget humanName autoEnable;