mirror of
https://github.com/NixOS/nixos-hardware.git
synced 2026-11-30 13:03:30 +01:00
raspberry-pi/common: avoid with lib.types; in settings definition
This commit is contained in:
1 parent
2e790b0a6b
commit
5fbc0ff5d2
1 file changed
+9
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user