From 8771ba8d69a3b67972eeb1c5d407444a766cb3d3 Mon Sep 17 00:00:00 2001 From: eyjhb Date: Sun, 4 Jan 2026 16:53:45 +0100 Subject: [PATCH] feat: nix options allow freeform typing --- nix/options.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/nix/options.nix b/nix/options.nix index 80cc7b28..bb51983c 100644 --- a/nix/options.nix +++ b/nix/options.nix @@ -10,6 +10,8 @@ mkPackageOption types ; + + settingsFormat = pkgs.formats.yaml { }; in { options.services.headplane = { enable = mkEnableOption "headplane"; @@ -27,6 +29,8 @@ in { See: https://github.com/tale/headplane/blob/main/config.example.yaml ''; type = types.submodule { + freeformType = settingsFormat.type; + options = { server = mkOption { type = types.submodule {