notifications: disableable popups, configurable max popup count
This commit is contained in:
parent
ce62d8f9cd
commit
9358f8fe6e
5 changed files with 28 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue