add shell monitoring

This commit is contained in:
atagen 2025-02-26 16:06:28 +11:00
parent d0532b9cc9
commit 48e77e9585
3 changed files with 156 additions and 1 deletions

View file

@ -125,6 +125,12 @@
default = true;
};
monitor = mkOption {
type = types.either types.bool types.int;
description = "Enable, or set timeout period for, monitoring devshell activity and automatically destroy services after (experimental).";
default = true;
};
# to prevent generating docs for this option; see https://github.com/NixOS/nixpkgs/issues/293510
_module.args = mkOption {
internal = true;