flake: use importApply for modules (#1281)

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

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-16 12:51:27 -07:00 committed by GitHub
parent 8b015b5fa0
commit c72824147e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 5 additions and 5 deletions

View file

@ -10,7 +10,7 @@
{ pkgs, ... }@args:
{
imports = [
(import "${self}/stylix/nixos" inputs)
(lib.modules.importApply "${self}/stylix/nixos" inputs)
{
stylix = {
inherit inputs;
@ -32,7 +32,7 @@
{ pkgs, ... }@args:
{
imports = [
(import "${self}/stylix/hm" inputs)
(lib.modules.importApply "${self}/stylix/hm" inputs)
{
stylix = {
inherit inputs;
@ -48,7 +48,7 @@
{ pkgs, ... }@args:
{
imports = [
(import "${self}/stylix/darwin" inputs)
(lib.modules.importApply "${self}/stylix/darwin" inputs)
{
stylix = {
inherit inputs;
@ -65,7 +65,7 @@
{ pkgs, ... }@args:
{
imports = [
(import "${self}/stylix/droid" inputs)
(lib.modules.importApply "${self}/stylix/droid" inputs)
{
stylix = {
paletteGenerator =

View file

@ -31,7 +31,7 @@
lib.mkMerge [
testbedPackages'
{
docs = import "${self}/docs" { inherit pkgs inputs lib; };
docs = lib.modules.importApply "${self}/docs" { inherit pkgs inputs lib; };
palette-generator = pkgs.callPackage "${self}/palette-generator" { };
}
];