14 lines
230 B
Nix
14 lines
230 B
Nix
{ config, lib, ... }:
|
|
let
|
|
cfg = config.my.home.htop;
|
|
in
|
|
{
|
|
options.my.home.htop = with lib.my; {
|
|
enable = mkDisableOption "htop configuration";
|
|
};
|
|
|
|
config.programs.htop = lib.mkIf cfg.enable {
|
|
enable = true;
|
|
};
|
|
}
|