-
Notifications
You must be signed in to change notification settings - Fork 1
/
setup-arch.sh
executable file
·90 lines (77 loc) · 1.81 KB
/
setup-arch.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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
#!/bin/bash
echo "Setting Arch..."
# Update
yay
# Binaries
sudo pacman -S \
btop \
curl \
docker \
docker-compose \
fastfetch \
git \
gnome-bluetooth-3.0 \
gnome-keyring \
gnome-shell-extension-appindicator \
lazygit \
neovim \
noto-fonts \
noto-fonts-cjk \
ripgrep \
rsync \
ttf-noto-nerd \
vim \
wezterm \
xorg-xdpyinfo \
zsh
# Oh My Zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
# Development
sudo pacman -S \
composer \
mariadb \
nginx-mainline \
nodejs \
npm \
nullmailer \
php-apcu php-fpm php-gd php-imagick php-redis php-sqlite xdebug
# NPM dependencies
sudo npm install -g npm-check-updates
# MariaDB configuration
sudo mariadb -u root -e "SET PASSWORD = PASSWORD('');"
# PHP Dependencies
composer global require laravel/installer
# Apps
sudo pacman -S \
discord \
firefox \
gthumb \
keepassxc \
meld \
qemu \
remmina \
spotify-launcher \
transmission-gtk \
vlc
# Docker
sudo usermod -aG docker $USER
# Aur
yay -S \
gnome-shell-extension-dash-to-dock \
gnome-terminal-transparency \
google-chrome \
httpie-desktop-bin \
powerline-fonts-git \
stripe-cli-bin \
symfony-cli-bin \
visual-studio-code-bin
# Clean
yay -Yc
yay -Scc
# Dotfiles
ln -s $HOME/.dotfiles/config/git/.gitconfig $HOME/.gitconfig
ln -s $HOME/.dotfiles/config/git/.gitignore_global $HOME/.gitignore_global
ln -s $HOME/.dotfiles/config/zsh/aliases.zsh $HOME/.oh-my-zsh/custom/aliases.zsh
ln -s $HOME/.dotfiles/config/zsh/path.zsh $HOME/.oh-my-zsh/custom/path.zsh
ln -s $HOME/.dotfiles/config/.wezterm.lua $HOME/.wezterm.lua
ln -s $HOME/.dotfiles/config/nvim $HOME/.config/nvim