Skip to content

Commit ddee0bc

Browse files
committed
feat(wrapperModules.niri): change attrs types to attrsRecursive for better merging
1 parent dc51840 commit ddee0bc

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

wrapperModules/n/niri/module.nix

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,11 +144,11 @@ in
144144
'';
145145
default = { };
146146
type = lib.types.submodule {
147-
freeformType = lib.types.attrs;
147+
freeformType = wlib.types.attrsRecursive;
148148
options = {
149149
binds = lib.mkOption {
150150
default = { };
151-
type = lib.types.attrs;
151+
type = wlib.types.attrsRecursive;
152152
description = "Bindings of niri";
153153
apply = convertAndWarn;
154154
example = lib.literalMD ''
@@ -168,7 +168,7 @@ in
168168
};
169169
layout = lib.mkOption {
170170
default = { };
171-
type = lib.types.attrs;
171+
type = wlib.types.attrsRecursive;
172172
description = "Layout definitions";
173173
apply = convertAndWarn;
174174
example = lib.literalMD ''
@@ -261,7 +261,7 @@ in
261261
};
262262
outputs = lib.mkOption {
263263
default = { };
264-
type = lib.types.attrs;
264+
type = wlib.types.attrsRecursive;
265265
description = "Output configuration";
266266
apply = convertAndWarn;
267267
example = lib.literalMD ''

0 commit comments

Comments
 (0)