42 lines
675 B
Nix
42 lines
675 B
Nix
{ ... }:
|
|
{
|
|
programs.bottom = {
|
|
enable = true;
|
|
settings = {
|
|
flags.enable_gpu = true;
|
|
|
|
row = [
|
|
{
|
|
ratio = 30;
|
|
child = [{ type = "cpu"; }];
|
|
}
|
|
{
|
|
ratio = 40;
|
|
child = [
|
|
{
|
|
ratio = 4;
|
|
type = "mem";
|
|
}
|
|
{
|
|
ratio = 3;
|
|
type = "disk";
|
|
}
|
|
];
|
|
}
|
|
{
|
|
ratio = 30;
|
|
child = [
|
|
{
|
|
type = "net";
|
|
}
|
|
{
|
|
default = true;
|
|
type = "proc";
|
|
}
|
|
];
|
|
}
|
|
];
|
|
};
|
|
};
|
|
}
|