blob: fc72ec346f0ad1b58e04a373804b9a353d692a6b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Bottom - Cross-platform graphical process/system monitor (Rust-based)
{
config,
lib,
...
}:
{
options.system.bottom = {
enable = lib.mkEnableOption "Enables bottom.";
package = lib.mkOption {
type = lib.types.package;
readOnly = true;
default = config.programs.bottom.package;
description = "The bottom package to use.";
};
};
config = lib.mkIf config.system.bottom.enable {
programs.bottom = {
enable = true;
};
};
}
|