-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsetup.sh
144 lines (101 loc) · 4.17 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
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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
#!/bin/bash
# Initial update
sudo pacman -Syu
# Base system
sudo pacman -S --needed git patch gnome-keyring reflector os-prober openssh sshfs nfs-utils
# Base CLI tools
sudo pacman -S --needed nano htop powertop sysstat neofetch w3m s-tui progress udisks2 detox lm_sensors tmux memtester
# Network
sudo pacman -S --needed networkmanager dhclient openvpn networkmanager-openvpn net-tools nmap speedtest-cli tcpdump
# Build tools
sudo pacman -S --needed base-devel hwloc openssl cmake libmicrohttpd numactl msr-tools arm-none-eabi-gcc
# File Sytem tools
#sudo pacman -S --needed squashfs-tools f2fs-tools dosfstools mstools hdparm nnn
# Coreboot
#sudo pacman -S --needed python gcc-ada flex bison ncurses wget zlib acpica
# Base WM
sudo pacman -S --needed nitrogen gtk-chtheme picom lxterminal lxappearance stalonetray xorg-xrandr xorg-xsetroot libxft imlib2 gparted terminator xarchiver grub-customizer geany
# AMD video driver
#sudo pacman -S --needed xf86-video-amdgpu
#Intel video driver
#sudo pacman -S --needed xf86-video-intel
# Web
sudo pacman -S --needed firefox transmission-gtk
# Web expanded
#sudo pacman -S --needed thunderbird chromium nextcloud-client transmission-remote-gtk tor jdk-openjdk
# Media
sudo pacman -S --needed lame mpv pragha gthumb
# Media expanded
#sudo pacman -S --needed vlc cmus soundconverter pavucontrol pulseeffects ncmpcpp mediainfo-gui
#3D Print
#sudo pacman -S --needed prusa-slicer freecad
# Audio
#sudo pacman -S --needed audacity ardour lmms rosegarden mixxx
# Fonts
sudo pacman -S --needed ttf-hack ttf-joypixels ttf-sourcecodepro-nerd ttf-bitstream-vera ttf-dejavu powerline-fonts
# Gnome tools
#sudo pacman -S --needed gnome-tweaks gnome-tweak-tool dconf-editor chrome-gnome-shell gnome-multi-writer
# Wii
#sudo pacman -S --needed wit
#yay -S --needed wiibafu customizemii
# Laptop
#sudo pacman -S --needed tlp
# RDP
#sudo pacman -S --needed remmina freerdp
# Virtualization
#KVM/QEMU
sudo pacman -S --needed libvirt qemu virt-manager dnsmasq
sudo usermod -a -G libvirt,kvm $USER
#VirtualBox
#sudo pacman -S --needed virtualbox virtualbox-host-modules-arch virtualbox-guest-iso virtualbox-guest-utils
#sudo modprobe vboxdrv
# Other tools
sudo pacman -S --needed android-tools
# Backup
#sudo pacman -S --needed timeshift
# Fix DHCP on NetworkManager
sudo echo "[main]" >> /etc/NetworkManager/conf.d/dhcp-client.conf
sudo echo "dhcp=dhclient" >> /etc/NetworkManager/conf.d/dhcp-client.conf
# Setup systemd-timesyncd
sudo echo "NTP=0.arch.pool.ntp.org 1.arch.pool.ntp.org 2.arch.pool.ntp.org 3.arch.pool.ntp.org" >> /etc/systemd/timesyncd.conf
sudo echo "FallbackNTP=0.pool.ntp.org 1.pool.ntp.org 0.fr.pool.ntp.org" >> /etc/systemd/timesyncd.conf
sudo timedatectl set-ntp true
sudo hwclock --systohc
# Fix GRUB OS-prober
sudo echo "GRUB_DISABLE_OS_PROBER=false" >> /etc/default/grub
# Detect additional kernels
sudo grub-mkconfig -o /boot/grub/grub.cfg
# Install Yay
#git clone https://aur.archlinux.org/yay.git
#cd yay
#makepkg -si
# AUR Update
#yay -Syu
# AUR utilities
yay -S --needed spacefm downgrade xrestop
# AUR Software
#yay -S --needed inxi tor-browser imagewriter usbimager
#AUR Software expanded
#yay -S --needed teamviewer wireshark-git cli-visualizer
#AUR printers
#yay -S --needed cnijfilter2 scangearmp2 ufrii-print
#AUR AMDGPU-PRO OpenCL drivers
#yay -S --needed opencl-amd-polaris
# AUR Fonts (deprecated)
#yay -S --needed nerd-fonts-source-code-pro libxft-bgra-git
#yay -S --needed nerd-fonts-liberation-mono lexend-fonts-git ttf-fixedsys-excelsior-linux nerd-fonts-profont-windows
# AUR laptop
#yay -S --needed thinkfan
# Add $USER to necessary groups
sudo usermod -a -G video,lp,lpadmin $USER
# Disable GDM Auto-Suspend (Gnome) When no User is logged in
#sudo -u gdm dbus-launch gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
# Fix Gnome Minimize/Maximize buttons
#gsettings set org.gnome.desktop.wm.preferences button-layout ':minimize,maximize,close'
#Enable fstrim
sudo systemctl enable fstrim.timer
sudo systemctl start fstrim.timer
# Poly Dark GRUB theme
#wget -O - https://github.com/shvchk/poly-dark/raw/master/install.sh | bash
# nanorc
curl https://raw.githubusercontent.com/scopatz/nanorc/master/install.sh | sh -l