75 lines
1.9 KiB
Nix
75 lines
1.9 KiB
Nix
{
|
|
inputs,
|
|
self,
|
|
lib,
|
|
...
|
|
}:
|
|
{
|
|
flake = {
|
|
nixosModules.stylix =
|
|
{ pkgs, ... }@args:
|
|
{
|
|
imports = [
|
|
(lib.modules.importApply ../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 ../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 ../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 ../stylix/droid inputs)
|
|
{
|
|
stylix = {
|
|
paletteGenerator =
|
|
self.packages.${pkgs.stdenv.hostPlatform.system}.palette-generator;
|
|
base16 = inputs.base16.lib args;
|
|
homeManagerIntegration.module = self.homeModules.stylix;
|
|
};
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|