diff --git a/nix-monitor/nix_monitor_service.luau b/nix-monitor/nix_monitor_service.luau index 7ea991f..28cec0e 100644 --- a/nix-monitor/nix_monitor_service.luau +++ b/nix-monitor/nix_monitor_service.luau @@ -1,4 +1,4 @@ -noctalia.setUpdateInterval(5000) +noctalia.setUpdateInterval(1000) -- Helper functions function tr(key) @@ -267,7 +267,7 @@ function update() end -- Generations check - if (os.time() - getState("lastGenerationsCheckTime")) >= 20 then + if (os.time() - getState("lastGenerationsCheckTime")) >= 10 then checkGenerations() end diff --git a/nix-monitor/panel.luau b/nix-monitor/panel.luau index c2cc753..73432b9 100644 --- a/nix-monitor/panel.luau +++ b/nix-monitor/panel.luau @@ -212,6 +212,8 @@ watchState("isRemoteCheckRunning", render) watchState("lastRemoteCheckTimeStr", render) watchState("localHash", render) watchState("remoteHash", render) +watchState("storeSize", render) +watchState("closureSize", render) -- Hooks function onOpen(_ctx)