Move setup step to the installation script
This commit is contained in:
parent
7099263341
commit
137fcd6e77
2 changed files with 2 additions and 2 deletions
|
|
@ -117,8 +117,6 @@ PIPX_PKGS=(
|
||||||
sudo DEBIAN_FRONTEND=noninteractive apt-get install --no-install-recommends --yes "${DEB_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[@]}"
|
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
|
if (( "${#PIPX_PKGS[@]}" != 0 )); then
|
||||||
pipx install "${PIPX_PKGS[@]}"
|
pipx install "${PIPX_PKGS[@]}"
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
|
|
@ -7,3 +7,5 @@ mkdir --parents ~/Pictures/screenshots
|
||||||
pre-commit install
|
pre-commit install
|
||||||
|
|
||||||
sudo usermod --append --groups dialout "${USER}"
|
sudo usermod --append --groups dialout "${USER}"
|
||||||
|
|
||||||
|
echo 'kernel.perf_event_paranoid=1' | sudo tee '/etc/sysctl.d/51-enable-perf-events.conf'
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue