about summary refs log tree commit diff
path: root/ops
diff options
context:
space:
mode:
authorsterni <sternenseemann@systemli.org>2023-11-26T13·15+0100
committerclbot <clbot@tvl.fyi>2023-11-26T22·16+0000
commit79c38dbf2abf8d2a067d1f878b5c353baa1ed9b7 (patch)
tree839ac13bbf5e7647d19c2906049943dcd237efc3 /ops
parent03d5ffd2ded360341a024dd796a8b27680cfb037 (diff)
fix(ops/modules/irccat): recursively merge config attribute set r/7071
`lib.types.attrs` is deprecated in favor of `lib.types.attrsOf
lib.types.anything` because it doesn't merge attribute sets
/recursively/. `attrsOf` and `anything` do, the former is used to ensure
that the top value is an attribute set as expected by irccat.

Change-Id: I2a9d943a06c8f99f7d6d20c9944288e854924bff
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10129
Reviewed-by: tazjin <tazjin@tvl.su>
Autosubmit: sterni <sternenseemann@systemli.org>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops')
-rw-r--r--ops/modules/irccat.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/ops/modules/irccat.nix b/ops/modules/irccat.nix
index 0819c52a8d..2263118d99 100644
--- a/ops/modules/irccat.nix
+++ b/ops/modules/irccat.nix
@@ -33,7 +33,7 @@ in
     enable = lib.mkEnableOption description;
 
     config = lib.mkOption {
-      type = lib.types.attrs; # varying value types
+      type = lib.types.attrsOf lib.types.anything; # varying value types
       description = "Configuration structure (unchecked!)";
     };