nixos/tinted-theming: add templates attribute

This commit is contained in:
Gabriel Arazas 2024-02-10 20:05:39 +08:00
parent 473540b952
commit 95b3e7bc2e
No known key found for this signature in database
GPG Key ID: ADE0C41DAB221FCC

View File

@ -94,6 +94,27 @@ let
in
{
options.tinted-theming = {
templates = lib.mkOption {
type = with lib.types; attrsOf path;
default = { };
example = lib.literalExpression ''
{
vim = pkgs.fetchFromGitHub {
owner = "tinted-theming";
repo = "base16-vim";
rev = "tinted-theming/base16-vim";
hash = "sha256-AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA=";
};
helix = ./templates/helix;
}
'';
description = ''
A set of templates for the specified builder to generate the
configuration files.
'';
};
schemes = lib.mkOption {
type = with lib.types; attrsOf (submodule schemeType);
default = { };