raspberry-pi/common: avoid with lib.types; in settings definition

This commit is contained in:
Doron Behar committed 2026-08-07 10:20:47 +03:00
1 parent 2e790b0a6b
commit 5fbc0ff5d2
1 file changed
+9 -1
+9 -1
View File
@@ -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