stylix: add imports to mkTarget (#1363)

Link: https://github.com/nix-community/stylix/pull/1363

Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
awwpotato 2025-05-31 11:17:32 -07:00 committed by GitHub
parent 8762da957b
commit 093087e969
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;