1 { config, pkgs, lib, ... }:
4 cfg = config.programs.usbtop;
7 programs.usbtop.enable = lib.mkEnableOption "usbtop and required kernel module, to show estimated USB bandwidth";
10 config = lib.mkIf cfg.enable {
11 environment.systemPackages = with pkgs; [
15 boot.kernelModules = [