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