From bc3236fce6bb3f22d383fddd3117a1718a5b3e77 Mon Sep 17 00:00:00 2001 From: Damocles Date: Mon, 13 Apr 2026 16:58:10 +0200 Subject: [PATCH] C3: configurable maxHistory (default 50) --- modules/Modules.qml | 3 ++- nix/hm-module.nix | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) 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);