fix
This commit is contained in:
parent
60af3a798e
commit
55e3bf85fe
@ -5,7 +5,7 @@ with lib;
|
|||||||
let
|
let
|
||||||
cfg = config.themes.base16;
|
cfg = config.themes.base16;
|
||||||
inherit (builtins) pathExists;
|
inherit (builtins) pathExists;
|
||||||
|
|
||||||
schemes = importJSON ./schemes.json;
|
schemes = importJSON ./schemes.json;
|
||||||
templates = importJSON ./templates.json;
|
templates = importJSON ./templates.json;
|
||||||
|
|
||||||
@ -66,7 +66,10 @@ in
|
|||||||
type=types.str;
|
type=types.str;
|
||||||
default="tomorrow";
|
default="tomorrow";
|
||||||
};
|
};
|
||||||
themes.base16.tone = mkOption
|
themes.base16.tone = mkOption {
|
||||||
|
type=types.str;
|
||||||
|
default="light";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
config = {
|
config = {
|
||||||
lib.base16.base16template = mustache cfg.scheme cfg.variant;
|
lib.base16.base16template = mustache cfg.scheme cfg.variant;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user