35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
{
|
|
lib,
|
|
config,
|
|
...
|
|
}: let
|
|
stylix = config.stylix.base16Scheme;
|
|
in {
|
|
programs.noctalia-shell.settings.systemMonitor = lib.mkForce {
|
|
cpuWarningThreshold = 80;
|
|
cpuCriticalThreshold = 90;
|
|
tempWarningThreshold = 80;
|
|
tempCriticalThreshold = 90;
|
|
gpuWarningThreshold = 80;
|
|
gpuCriticalThreshold = 90;
|
|
memWarningThreshold = 80;
|
|
memCriticalThreshold = 90;
|
|
swapWarningThreshold = 80;
|
|
swapCriticalThreshold = 90;
|
|
diskWarningThreshold = 80;
|
|
diskCriticalThreshold = 90;
|
|
cpuPollingInterval = 3000;
|
|
tempPollingInterval = 3000;
|
|
gpuPollingInterval = 3000;
|
|
enableDgpuMonitoring = false;
|
|
memPollingInterval = 3000;
|
|
diskPollingInterval = 30000;
|
|
networkPollingInterval = 3000;
|
|
loadAvgPollingInterval = 3000;
|
|
useCustomColors = true;
|
|
warningColor = "#${stylix.base03}";
|
|
criticalColor = "#${stylix.base02}";
|
|
externalMonitor = "resources || missioncenter || jdsystemmonitor || corestats || system-monitoring-center || gnome-system-monitor || plasma-systemmonitor || mate-system-monitor || ukui-system-monitor || deepin-system-monitor || pantheon-system-monitor";
|
|
};
|
|
}
|