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:
parent
340a9c5455
commit
70f331c8e7
5 changed files with 5 additions and 5 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue