mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-01-31 08:13:06 +01:00
17 lines
311 B
Nix
17 lines
311 B
Nix
{
|
|
lib,
|
|
config,
|
|
pkgs,
|
|
...
|
|
}:
|
|
let
|
|
inherit (lib) mkOption;
|
|
palette = (pkgs.lib.importJSON (config.catppuccin.sources.palette + "/palette.json")).${config.catppuccin.flavor}.colors;
|
|
in
|
|
{
|
|
options.palette = mkOption { type = lib.types.attrsOf lib.types.raw; };
|
|
|
|
config = {
|
|
inherit palette;
|
|
};
|
|
}
|