notifications: derive popup enabled from maxPopups > 0
This commit is contained in:
parent
9358f8fe6e
commit
a6d95ffdaf
3 changed files with 1 additions and 7 deletions
|
|
@ -98,11 +98,6 @@ 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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue