-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathvoidinstall.sh
executable file
·179 lines (137 loc) · 2.79 KB
/
voidinstall.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
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
#!/bin/bash
source modules.sh
source voidinstall.conf
updateSystem
placeVitalFiles
installVitalPackages
enableVitalServices
if [ $DWM -eq 1 ]; then
installDwm
fi
if [ $GNOME -eq 1 ]; then
# reset audio
USE_ALSA=0
USE_PIPEWIRE=0
USE_PULSEAUDIO=0
installGnome
fi
if [ $CREATE_PARA_FOLDER_STRUCTURE -eq 1 ]; then
createPARAfolderStructure
fi
if [ $INSTALL_DOOM_EMACS -eq 1 ]; then
installDoomEmacs
fi
if [ $INSTALL_FIRACODE_FONT -eq 1 ]; then
installFiracodeFont
fi
if [ $INSTALL_GO -eq 1 ]; then
installGoProgrammingLanguage
fi
if [ $INSTALL_WEB_DEV_STUFF -eq 1 ]; then
installWebDevStuff
fi
if [ $DEV_HELPER_TOOLS -eq 1 ]; then
installProgrammingHelperTools
fi
if [ $JAVA -eq 1 ]; then
installJava
fi
if [ $RUST -eq 1 ]; then
installRust
fi
if [ $RUBY -eq 1 ]; then
installRuby
fi
if [ $THUNAR -eq 1 ]; then
installThunar
fi
if [ $FIREFOX -eq 1 ]; then
installFirefox
fi
if [ $TRANSMISSION -eq 1 ]; then
installTransmission
fi
if [ $RANGER -eq 1 ]; then
installRanger
fi
if [ $DOCKER -eq 1 ]; then
installDocker
fi
if [ $ENABLE_BLUETOOTH -eq 1 ]; then
enableBluetooth
fi
if [ $USE_ALSA -eq 1 ]; then
setupAlsa
fi
if [ $USE_PULSEAUDIO -eq 1 ]; then
setupPulseaudio
fi
if [ $USE_PIPEWIRE -eq 1 ]; then
setupPipewire
fi
if [ $INSTALL_XDG_STUFF -eq 1 ]; then
installXdgRelatedStuff
fi
if [ $VIDEO_ACCELERATION -eq 1 ]; then
enableVideoAcceleration
fi
if [ $INSTALL_PROPRIETARY_NVIDIA_DRIVER -eq 1 ]; then
installProprietaryNvidiaDrivers
fi
if [ $SETUP_NIX_PACKAGE_MANAGER -eq 1 ]; then
enableNixPackageManager
fi
if [ $LIBREWOLF -eq 1 ]; then
installLibrewolf
fi
if [ $LOGSEQ -eq 1 ]; then
installLogseq
fi
if [ $KVM -eq 1 ]; then
setupKVM
fi
if [ $ENABLE_AUTOMOUNTING_DISKS -eq 1 ]; then
enableAutoMountingDisks
fi
if [ $ENABLE_HOTKEY_DAEMON -eq 1 ]; then
enableHotKeyDaemon
fi
if [ $ENABLE_REDSHIFT -eq 1 ]; then
enableRedshift
fi
if [ $ENABLE_TAP_TO_CLICK -eq 1 ]; then
enableTapToClick
fi
if [ $ENABLE_SSH -ne 1 ]; then
disableSSH
fi
# Distrobox related
if [ $INSTALL_DISTROBOX -eq 1 ]; then
installDistrobox
fi
if [ $INSTALL_FEDORA_COVERAGE -eq 1 ]; then
installFedoraCoverage
fi
if [ $INSTALL_UBUNTU_COVERAGE -eq 1 ]; then
installUbuntuCoverage
fi
if [ $INSTALL_ARCH_COVERAGE -eq 1 ]; then
installArchCoverage
fi
if [ $ENABLE_PSD -eq 1 ]; then
enablePSD
fi
removeXbpsCache
# Login manager setups should execute last
if [ $EMPTTY -eq 1 ]; then
installEmpttyLoginManager
fi
echo "Installation is finished.
just before you reboot do the followings;
1. if you installed distrobox coverage distros do
distrobox enter fedora
distrobox enter ubuntu
distrobox enter archlinux
one by one to auto install all needed packages
2. reboot the system
"