Fixes: 0e5b1613bd ("stylix: rename homeManagerModules to homeModules (#1267)")
Link: https://github.com/danth/stylix/pull/1287
Reviewed-by: NAHO <90870942+trueNAHO@users.noreply.github.com>
75 lines
1.9 KiB
Nix
75 lines
1.9 KiB
Nix
{
|
|
inputs,
|
|
self,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
flake = {
|
|
nixosModules.stylix =
|
|
{ pkgs, ... }@args:
|
|
{
|
|
imports = [
|
|
(lib.modules.importApply "${self}/stylix/nixos" inputs)
|
|
{
|
|
stylix = {
|
|
inherit inputs;
|
|
paletteGenerator =
|
|
self.packages.${pkgs.stdenv.hostPlatform.system}.palette-generator;
|
|
base16 = inputs.base16.lib args;
|
|
homeManagerIntegration.module = self.homeModules.stylix;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
|
|
homeModules.stylix =
|
|
{ pkgs, ... }@args:
|
|
{
|
|
imports = [
|
|
(lib.modules.importApply "${self}/stylix/hm" inputs)
|
|
{
|
|
stylix = {
|
|
inherit inputs;
|
|
paletteGenerator =
|
|
self.packages.${pkgs.stdenv.hostPlatform.system}.palette-generator;
|
|
base16 = inputs.base16.lib args;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
|
|
darwinModules.stylix =
|
|
{ pkgs, ... }@args:
|
|
{
|
|
imports = [
|
|
(lib.modules.importApply "${self}/stylix/darwin" inputs)
|
|
{
|
|
stylix = {
|
|
inherit inputs;
|
|
paletteGenerator =
|
|
self.packages.${pkgs.stdenv.hostPlatform.system}.palette-generator;
|
|
base16 = inputs.base16.lib args;
|
|
homeManagerIntegration.module = self.homeModules.stylix;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
|
|
nixOnDroidModules.stylix =
|
|
{ pkgs, ... }@args:
|
|
{
|
|
imports = [
|
|
(lib.modules.importApply "${self}/stylix/droid" inputs)
|
|
{
|
|
stylix = {
|
|
paletteGenerator =
|
|
self.packages.${pkgs.stdenv.hostPlatform.system}.palette-generator;
|
|
base16 = inputs.base16.lib args;
|
|
homeManagerIntegration.module = self.homeModules.stylix;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|