nixos/modules/theme.nix
2026-08-31 13:41:54 +02:00

12 lines
435 B
Nix

{ inputs, lib, pkgs, config, ... }: {
options.theme.name = 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";
};
options.theme.mkSchemeAttr = lib.mkOption {
type = lib.types.attrSet;
};
config.theme.name = "${inputs.tt-schemes}/base16/oxocarbon-dark.yaml";
}