notifications: disableable popups, configurable max popup count

This commit is contained in:
Damocles 2026-04-13 15:35:12 +02:00
parent ce62d8f9cd
commit 9358f8fe6e
5 changed files with 28 additions and 4 deletions

View file

@ -98,6 +98,16 @@ in
default = 3000;
description = "Notification popup timeout in milliseconds.";
};
popups = lib.mkOption {
type = lib.types.bool;
default = true;
description = "Show notification popups.";
};
maxPopups = lib.mkOption {
type = lib.types.int;
default = 4;
description = "Maximum number of notification popups shown simultaneously.";
};
};
bluetooth = moduleOpt "bluetooth" (intervalOpt 5000);
network = moduleOpt "network" (intervalOpt 5000);