nix-config/modules/home/htop/default.nix

14 lines
230 B
Nix
Raw Normal View History

2021-03-13 01:01:54 +01:00
{ config, lib, ... }:
let
cfg = config.my.home.htop;
in
2021-02-21 19:33:38 +01:00
{
2023-03-16 17:39:13 +01:00
options.my.home.htop = with lib; {
enable = my.mkDisableOption "htop configuration";
2021-03-13 01:01:54 +01:00
};
config.programs.htop = lib.mkIf cfg.enable {
2021-02-21 19:33:38 +01:00
enable = true;
};
}