Skip to content

Commit

Permalink
add backup config option to add in anything that isn't explicitly sup…
Browse files Browse the repository at this point in the history
…ported
  • Loading branch information
Talia-12 committed Aug 29, 2024
1 parent ac8e827 commit 7df197c
Showing 1 changed file with 12 additions and 1 deletion.
13 changes: 12 additions & 1 deletion module.nix
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ matugen: {
matugenConfig = configFormat.generate "matugen-config.toml" {
config = {
custom_colors = cfg.custom_colors;
};
} // cfg.config;
templates = sanitizedTemplates;
};

Expand Down Expand Up @@ -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;
Expand Down

0 comments on commit 7df197c

Please sign in to comment.