mirror of
https://github.com/Jokiller230/puzzlevision.git
synced 2025-09-10 21:00:06 +00:00
♻️⚡️ remove with lib;
everywhere and partially switch to mkOpt
This commit is contained in:
parent
c5283fe60b
commit
124d6b7ede
27 changed files with 72 additions and 53 deletions
|
@ -1,15 +1,15 @@
|
|||
{
|
||||
lib,
|
||||
namespace,
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: with lib; with lib.${namespace};
|
||||
}:
|
||||
let
|
||||
inherit (lib) mkOption;
|
||||
palette = (pkgs.lib.importJSON (config.catppuccin.sources.palette + "/palette.json")).${config.catppuccin.flavor}.colors;
|
||||
in
|
||||
{
|
||||
options.palette = mkOption { type = types.attrsOf types.raw; };
|
||||
options.palette = mkOption { type = lib.types.attrsOf lib.types.raw; };
|
||||
|
||||
config = {
|
||||
inherit palette;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue