configurable notification timeout, default 3s

This commit is contained in:
Damocles 2026-04-13 00:08:45 +02:00
parent 28fb0e4d00
commit dea4541718
3 changed files with 11 additions and 3 deletions

View file

@ -82,7 +82,6 @@ in
"tray"
"windowTitle"
"clock"
"notifications"
"mpris"
"volume"
"idleInhibitor"
@ -91,6 +90,13 @@ in
in
simpleModules
// {
notifications = moduleOpt "notifications" {
timeout = lib.mkOption {
type = lib.types.int;
default = 3000;
description = "Notification popup timeout in milliseconds.";
};
};
bluetooth = moduleOpt "bluetooth" (intervalOpt 5000);
network = moduleOpt "network" (intervalOpt 5000);
powerProfile = moduleOpt "powerProfile" (intervalOpt 5000);