refactor: add SystemStats singleton + nova-stats daemon for cpu/mem polling
This commit is contained in:
parent
71a843e0f3
commit
136ff53cb5
13 changed files with 371 additions and 196 deletions
12
nix/stats-daemon.nix
Normal file
12
nix/stats-daemon.nix
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
{ lib, rustPlatform }:
|
||||
rustPlatform.buildRustPackage {
|
||||
pname = "nova-stats";
|
||||
version = "0.1.0";
|
||||
src = lib.cleanSource ../stats-daemon;
|
||||
cargoLock.lockFile = ../stats-daemon/Cargo.lock;
|
||||
meta = {
|
||||
description = "System stats daemon for nova-shell";
|
||||
mainProgram = "nova-stats";
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue