From 7d55511d6fd47e847d50284c70956649fceb5bb2 Mon Sep 17 00:00:00 2001 From: Johannes Kirschbauer Date: Tue, 6 May 2025 18:58:40 +0200 Subject: [PATCH] fix(services): features.API set to true and readOnly --- lib/inventory/distributed-service/service-module.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lib/inventory/distributed-service/service-module.nix b/lib/inventory/distributed-service/service-module.nix index 7a3ef3b5b..89a3eeeb2 100644 --- a/lib/inventory/distributed-service/service-module.nix +++ b/lib/inventory/distributed-service/service-module.nix @@ -255,7 +255,9 @@ in { options.API = mkOption { type = types.bool; - default = false; + # This is read only, because we don't support turning it off yet + readOnly = true; + default = true; description = '' Enables automatic API schema conversion for the interface of this module. '';