diff --git a/module.nix b/module.nix index 1fba9b0..81a83a2 100644 --- a/module.nix +++ b/module.nix @@ -40,7 +40,7 @@ matugen: { matugenConfig = configFormat.generate "matugen-config.toml" { config = { custom_colors = cfg.custom_colors; - }; + } // cfg.config; templates = sanitizedTemplates; }; @@ -157,6 +157,17 @@ in { example = "light"; }; + config = lib.mkOption { + description = "Add things to the config not covered by other options."; + type = lib.types.attrs; + default = osCfg.config or {}; + example = '' + { + custom_keywords.font1 = "Google Sans"; + } + ''; + }; + theme.files = lib.mkOption { type = lib.types.package; readOnly = true;