-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
executable file
·54 lines (41 loc) · 1.79 KB
/
setup.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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
#!/bin/bash
# Start repo setup
# RPMFusion
sudo dnf install https://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://download1.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
# VS Code
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
sudo sh -c 'echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" > /etc/yum.repos.d/vscode.repo'
# GH CLI
sudo dnf config-manager --add-repo https://cli.github.com/packages/rpm/gh-cli.repo
sudo dnf install gh
# End repo setup
# Start package install
# DNF
sudo dnf check-update
sudo dnf -y install zsh alacritty gnome-tweak-tool google-noto-serif-fonts google-noto-sans-fonts cascadia-fonts-all
sudo dnf -y install virt-manager radare2 neovim code qemu
sudo dnf -y install boost-devel clang lldb llvm gcc code valgrind
# Flathub
flatpak remote-add --if-not-exists flathub https://flathub.org/repo/flathub.flatpakrepo
flatpak install flathub com.bitwarden.desktop
flatpak install flathub com.discordapp.Discord
flatpak install flathub com.getmailspring.Mailspring
flatpak install flathub com.spotify.Client
flatpak install flathub org.signal.Signal
# End package install
# Git configs
git config --global user.name "Michael Kwok"
git config --global user.email "[email protected]"
# Install antigen for zsh
curl -L git.io/antigen >~/.antigen.zsh
# Link rcfiles
ln -s $PWD/zsh/zshrc ~/.zshrc
ln -s $PWD/mako ~/.config/
ln -s $PWD/rofi ~/.config/
ln -s $PWD/sway ~/.config/
ln -s $PWD/termite ~/.config/
ln -s $PWD/waybar ~/.config/
# Make directories
mkdir ~/Workspace
# Install rustup
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh