Skip to content

Commit 685be77

Browse files
committed
feat: add option to set devshell message width
1 parent 9336aa8 commit 685be77

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

modules/devshell.nix

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -351,6 +351,14 @@ in
351351
menu = mkOption {
352352
type = types.submodule {
353353
options.interpolate = mkEnableOption "interpolation in the devshell menu";
354+
options.width = mkOption {
355+
type = types.numbers.positive;
356+
default = 75;
357+
description = ''
358+
Width of the devshell message.
359+
'';
360+
example = 75;
361+
};
354362
};
355363
default = { };
356364
description = ''
@@ -359,6 +367,7 @@ in
359367
example = literalExpression ''
360368
{
361369
interpolate = true;
370+
width = 75;
362371
}
363372
'';
364373
};

0 commit comments

Comments
 (0)