From d4d50a97f8f2c3f3c9a9abf8d13d9d03a3dadd3f Mon Sep 17 00:00:00 2001 From: xeals Date: Sat, 13 Dec 2025 10:20:08 +1100 Subject: [PATCH] feat(prettier): add freeform type --- programs/prettier.nix | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/programs/prettier.nix b/programs/prettier.nix index bc71a2ea..aebca0d6 100644 --- a/programs/prettier.nix +++ b/programs/prettier.nix @@ -333,7 +333,14 @@ in options.programs.prettier = { # Represents the prettierrc.json config schema - settings = settingsSchema; + settings = mkOption { + default = { }; + type = types.submodule { + # Allow freeform values to allow for plugin settings. + freeformType = configFormat.type; + options = settingsSchema; + }; + }; }; config = lib.mkIf cfg.enable {