From 5fbc0ff5d26b4ec21e008cfddaf99a68e1915ed9 Mon Sep 17 00:00:00 2001 From: Doron Behar Date: Fri, 7 Aug 2026 10:20:47 +0300 Subject: [PATCH] raspberry-pi/common: avoid with lib.types; in settings definition --- raspberry-pi/common/config-txt.nix | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/raspberry-pi/common/config-txt.nix b/raspberry-pi/common/config-txt.nix index a3b5569e..71b02708 100644 --- a/raspberry-pi/common/config-txt.nix +++ b/raspberry-pi/common/config-txt.nix @@ -82,8 +82,16 @@ in options.hardware.raspberry-pi.configtxt = { settings = lib.mkOption { type = - with lib.types; let + inherit (lib.types) + attrsOf + bool + int + listOf + nullOr + oneOf + str + ; atom = nullOr (oneOf [ str int