diff --git a/modules/xresources.nix b/modules/xresources.nix index b74d671be..e9e131352 100644 --- a/modules/xresources.nix +++ b/modules/xresources.nix @@ -28,7 +28,11 @@ in { options = { xresources.properties = mkOption { - type = types.nullOr types.attrs; + type = with types; + let + prim = either bool (either int str); + entry = either prim (listOf prim); + in nullOr (attrsOf entry); default = null; example = literalExample '' {