diff --git a/modules/Modules.qml b/modules/Modules.qml index 3c0e700..2d0e128 100644 --- a/modules/Modules.qml +++ b/modules/Modules.qml @@ -23,7 +23,8 @@ QtObject { enable: true, timeout: 3000, maxPopups: 4, - maxVisible: 10 + maxVisible: 10, + maxHistory: 50 }) property var mpris: ({ enable: true diff --git a/nix/hm-module.nix b/nix/hm-module.nix index 9c0f093..50cd295 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -108,6 +108,11 @@ in default = 10; description = "Maximum visible notifications in the notification center before scrolling."; }; + maxHistory = lib.mkOption { + type = lib.types.int; + default = 50; + description = "Maximum notifications kept in history."; + }; }; bluetooth = moduleOpt "bluetooth" (intervalOpt 5000); network = moduleOpt "network" (intervalOpt 5000);