-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbootstrap.sh
executable file
·38 lines (29 loc) · 993 Bytes
/
bootstrap.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/usr/bin/bash
# Install common software I use
sudo dnf update
sudo dnf install --noconfirm maim xclip redshift redshift-gtk \
i3 pavucontrol ripgrep picom nitrogen g++ git alacritty nvim \
gcc automake autoconf make pkg-config openssl-devel xrandr \
autorandr ripgrep snapd
sudo snap install todoist
## Needed to build kernel modules (like lttng)
sudo dnf install kernel-devel
## Tracing
sudo dnf install lttng-ust lttng-tools
## nodeJS
wget https://rpm.nodesource.com/setup_20.x -O node.sh
chmod +x node.sh
/bin/bash node.sh
rm node.sh
# Set-up the timezone
timedatectl set-timezone Europe/Paris
# Add user to groups
sudo usermod -aG tracing olivierkessler
sudo usermod -aG docker olivierkessler
# Install nerdfonts to get icons working
wget -P ~/.local/share/fonts https://github.com/ryanoasis/nerd-fonts/releases/download/v3.0.2/JetBrainsMono.zip \
&& cd ~/.local/share/fonts \
&& unzip JetBrainsMono.zip \
&& rm JetBrainsMono.zip \
&& fc-cache -fv
echo "Please reboot now !"