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:
parent
8762da957b
commit
093087e969
1 changed files with 3 additions and 0 deletions
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue