nix-config/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
{
2021-03-13 01:01:54 +01:00
options.my.home.htop = with lib.my; {
enable = mkDisableOption "htop configuration";
};
config.programs.htop = lib.mkIf cfg.enable {
2021-02-21 19:33:38 +01:00
enable = true;
};
}