diff --git a/modules/applications/by-name/cosmic-ext-tweaks/default.nix b/modules/applications/by-name/cosmic-ext-tweaks/default.nix new file mode 100644 index 0000000..8c1cedb --- /dev/null +++ b/modules/applications/by-name/cosmic-ext-tweaks/default.nix @@ -0,0 +1,24 @@ +{ lib, ... }: +lib.cosmic.applications.mkCosmicApplication { + name = "cosmic-ext-tweaks"; + originalName = "COSMIC Calculator"; + identifier = "dev.edfloreshz.CosmicTweaks"; + configurationVersion = 1; + + maintainers = [ lib.maintainers.HeitorAugustoLN ]; + + settingsOptions.app_theme = + lib.cosmic.defaultNullOpts.mkRonEnum [ "Dark" "Light" "System" ] + { + __type = "enum"; + variant = "System"; + } + '' + The theme of the application. + ''; + + settingsExample.app_theme = { + __type = "enum"; + variant = "System"; + }; +}