mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-04-24 18:19:11 +00:00
nixos/tinted-theming: add templates attribute
This commit is contained in:
parent
473540b952
commit
95b3e7bc2e
@ -94,6 +94,27 @@ let
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.tinted-theming = {
|
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 {
|
schemes = lib.mkOption {
|
||||||
type = with lib.types; attrsOf (submodule schemeType);
|
type = with lib.types; attrsOf (submodule schemeType);
|
||||||
default = { };
|
default = { };
|
||||||
|
Loading…
Reference in New Issue
Block a user