blob: 87528a1a2b5a296084628528743f51e9e350f986 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
{ options, config, lib, namespace, ... }:
with lib; with lib.${namespace}; let
cfg = config.${namespace}.tools.btop;
in {
options.${namespace}.tools.btop = with types; {
enable = mkEnableOption "btop";
};
config = mkIf cfg.enable {
programs.btop = {
enable = true;
};
};
}
|