diff --git a/.config/setup/01-install-packages.sh b/.config/setup/01-install-packages.sh index 0483802..fb4c5d3 100755 --- a/.config/setup/01-install-packages.sh +++ b/.config/setup/01-install-packages.sh @@ -41,6 +41,7 @@ DEB_PKGS=( libyajl-doc libyajl2 lilypond + linux-perf lshw magic-wormhole make @@ -62,6 +63,7 @@ DEB_PKGS=( rclone reuse ripgrep + rr rsync rust-doc rust-llvm @@ -107,6 +109,8 @@ PIPX_PKGS=( sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes "${DEB_PKGS[@]}" sudo DEBIAN_FRONTEND=noninteractive apt-get install --install-recommends --yes "${META_PKGS[@]}" +echo 'kernel.perf_event_paranoid=1' | sudo tee '/etc/sysctl.d/51-enable-perf-events.conf' + if (( "${#PIPX_PKGS[@]}" != 0 )); then pipx install "${PIPX_PKGS[@]}" fi