1{
2 self,
3 lib,
4 config,
5 inputs,
6 pkgs,
7 ...
8}:
9let
10 inherit (lib.types)
11 path
12 enum
13 nullOr
14 str
15 package
16 ;
17
18 inherit (self.lib.modules) mkOpt;
19
20 cfg = config.sylveon.system.theme;
21in
22{
23 options.sylveon.system.theme = {
24 name = mkOpt (nullOr (enum [ "rose-pine" ])) "rose-pine" "The theme that should be loaded";
25
26 base16 =
27 mkOpt path "${inputs.tinted-theming-schemes}/base16/${cfg.name}.yaml"
28 "Path to base16 file for your theme";
29 };
30}