diff options
author | multi <depot@in-addr.xyz> | 2020-08-09T23·24+0000 |
---|---|---|
committer | multi <depot@in-addr.xyz> | 2020-08-10T16·37+0000 |
commit | 5851f672aca266bd2716d1b82bc81817d629abc0 (patch) | |
tree | f33e1e8214dc3371ee86397bc0031311e1ff0399 /users/multi/pkgs/htop/default.nix | |
parent | 5e58c8bc288a8da06fc383e45aa30ade0293faa3 (diff) |
feat(users/multi): bootstrap home-manager configuration for whitby r/1630
Change-Id: Iad3024a5a640d33377cfae436134fda9f358397b Reviewed-on: https://cl.tvl.fyi/c/depot/+/1703 Tested-by: BuildkiteCI Reviewed-by: multi <depot@in-addr.xyz>
Diffstat (limited to 'users/multi/pkgs/htop/default.nix')
-rw-r--r-- | users/multi/pkgs/htop/default.nix | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/users/multi/pkgs/htop/default.nix b/users/multi/pkgs/htop/default.nix new file mode 100644 index 000000000000..09fc1cd9928f --- /dev/null +++ b/users/multi/pkgs/htop/default.nix @@ -0,0 +1,33 @@ +{ pkgs, ... }: + +let + arcStats = [ + ./zfs-arc-stats/0001-Specify-correct-MIB-length.patch + ./zfs-arc-stats/0002-Support-ZFS-ARC-stats-on-FreeBSD.patch + ./zfs-arc-stats/0003-ZFS-arcstats-for-Linux.patch + ./zfs-arc-stats/0004-ZFS-arcstats-for-Darwin-macOS-OS-X.patch + ./zfs-arc-stats/0005-Refactor-common-OpenZFS-sysctl-access.patch + ./zfs-arc-stats/0006-ZFS-arcstats-for-Solaris.patch + ./zfs-arc-stats/0007-Refactor-openzfs_sysctl_init-and-ZfsArcMeter.patch + ./zfs-arc-stats/0008-Support-for-ZFS-Compressed-ARC-statistics.patch + ./zfs-arc-stats/0009-Linux-fixes.patch + ]; + + arcCache = [ + ./zfs-arc-cache/0001-Linux-consider-ZFS-ARC-to-be-cache.patch + ]; + + removeMousing = [ + ./remove-mousing/0001-Tear-out-ncurses-mouse-mode.patch + ]; + + octoMeter = [ + ./octo-meter/0001-Add-quad-and-octo-meter-display-meters.patch + ]; +in + with pkgs; htop.overrideAttrs + ({ patches ? [], nativeBuildInputs ? [], ... }: + { + patches = patches ++ arcStats ++ arcCache ++ removeMousing ++ octoMeter; + nativeBuildInputs = nativeBuildInputs ++ [ autoreconfHook ]; + }) |