stylix: use lib.modules.importApply (#1185)

Link: https://github.com/danth/stylix/pull/1185

Reviewed-by: Flameopathic <64027365+Flameopathic@users.noreply.github.com>
Reviewed-by: Matt Sturgeon <matt@sturgeon.me.uk>
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
This commit is contained in:
awwpotato 2025-05-04 14:59:47 -07:00 committed by GitHub
parent 340a9c5455
commit 70f331c8e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 5 additions and 5 deletions

View file

@ -23,7 +23,7 @@ in
"${inputs.self}/stylix/pixel.nix"
"${inputs.self}/stylix/target.nix"
"${inputs.self}/stylix/release.nix"
(import "${inputs.self}/stylix/overlays.nix" inputs)
(lib.modules.importApply "${inputs.self}/stylix/overlays.nix" inputs)
] ++ autoload;
config.warnings =
lib.mkIf

View file

@ -12,7 +12,7 @@ in
"${inputs.self}/stylix/palette.nix"
"${inputs.self}/stylix/pixel.nix"
"${inputs.self}/stylix/target.nix"
(import "${inputs.self}/stylix/overlays.nix" inputs)
(lib.modules.importApply "${inputs.self}/stylix/overlays.nix" inputs)
] ++ autoload;
# See https://github.com/nix-community/nix-on-droid/issues/436

View file

@ -2,7 +2,7 @@ args:
{ config, lib, ... }:
{
imports = [ (import ../palette.nix args) ];
imports = [ (lib.modules.importApply ../palette.nix args) ];
config = lib.mkIf config.stylix.enable {
environment.etc = config.stylix.generated.fileTree;

View file

@ -26,7 +26,7 @@ in
"${inputs.self}/stylix/pixel.nix"
"${inputs.self}/stylix/target.nix"
"${inputs.self}/stylix/release.nix"
(import "${inputs.self}/stylix/overlays.nix" inputs)
(lib.modules.importApply "${inputs.self}/stylix/overlays.nix" inputs)
] ++ autoload;
config.warnings =
lib.mkIf

View file

@ -25,7 +25,7 @@ in
"${inputs.self}/stylix/pixel.nix"
"${inputs.self}/stylix/target.nix"
"${inputs.self}/stylix/release.nix"
(import "${inputs.self}/stylix/overlays.nix" inputs)
(lib.modules.importApply "${inputs.self}/stylix/overlays.nix" inputs)
] ++ autoload;
config.warnings =
lib.mkIf