add theme file

This commit is contained in:
lucy 2026-08-31 12:12:34 +02:00
commit 3fc09b571b
3 changed files with 16 additions and 4 deletions

9
modules/theme.nix Normal file
View file

@ -0,0 +1,9 @@
{ inputs, lib }: {
options.scheme = lib.mkOption {
type = lib.types.str;
default = "${inputs.tt-schemes}/base16/oxocarbon-dark.yaml";
example = "${inputs.tt-schemes}/base16/catppuccin-mocha.yaml";
description = "set the used theme";
};
config.scheme = "${inputs.tt-schemes}/base16/oxocarbon-dark.yaml";
}