diff --git a/modules/home/programs/btop.nix b/modules/home/programs/btop.nix new file mode 100644 index 0000000..488d5c2 --- /dev/null +++ b/modules/home/programs/btop.nix @@ -0,0 +1,16 @@ +{ config, lib, ... }: +{ + options.custom.programs.btop.enable = lib.mkEnableOption ""; + + config = lib.mkIf config.custom.programs.btop.enable { + programs.btop = { + enable = true; + settings.settings = + { + dark = "adwaita-dark"; + light = "adwaita"; + } + .${config.custom.theme}; + }; + }; +}