-
Notifications
You must be signed in to change notification settings - Fork 74
Expand file tree
/
Copy pathsettings.sh
More file actions
executable file
·169 lines (155 loc) · 6.95 KB
/
settings.sh
File metadata and controls
executable file
·169 lines (155 loc) · 6.95 KB
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
# shellcheck shell=bash disable=2034
# Packages to install
# You can add packages that you want and remove packages that you don't need
# Apart from packages from the official Arch repos, you can also specify
# packages from the Chaotic-AUR repo
PACKAGES=(
# audio
alsa-lib lib32-alsa-lib alsa-plugins lib32-alsa-plugins libpulse
lib32-libpulse alsa-tools alsa-utils pipewire lib32-pipewire pipewire-pulse
pipewire-jack lib32-pipewire-jack sndio lib32-sndio
# core
xorg-xwayland qt6-wayland wayland lib32-wayland qt5-wayland xorg-server-xephyr gamescope
# video
mesa lib32-mesa vulkan-radeon lib32-vulkan-radeon
vulkan-intel lib32-vulkan-intel
vulkan-icd-loader lib32-vulkan-icd-loader vulkan-mesa-layers
lib32-vulkan-mesa-layers libva-intel-driver lib32-libva-intel-driver
intel-media-driver mesa-utils vulkan-tools libva-utils lib32-mesa-utils
# wine
wine-staging winetricks-git wineasio
freetype2 lib32-freetype2 libxft lib32-libxft
flex lib32-flex fluidsynth lib32-fluidsynth
libxrandr lib32-libxrandr xorg-xrandr libldap lib32-libldap
mpg123 lib32-mpg123 libxcomposite lib32-libxcomposite
libxi lib32-libxi libxinerama lib32-libxinerama libxss lib32-libxss
libxslt lib32-libxslt openal lib32-openal
krb5 lib32-krb5 libpulse lib32-libpulse alsa-plugins
lib32-alsa-plugins alsa-lib lib32-alsa-lib gnutls lib32-gnutls
giflib lib32-giflib gst-libav gst-plugin-pipewire gst-plugins-ugly
gst-plugins-bad gst-plugins-bad-libs gst-plugin-va lsp-plugins-gst
gst-plugins-base-libs lib32-gst-plugins-base-libs gst-plugins-base lib32-gst-plugins-base
gst-plugins-good lib32-gst-plugins-good gstreamer lib32-gstreamer
libpng lib32-libpng v4l-utils lib32-v4l-utils
libgpg-error lib32-libgpg-error libjpeg-turbo lib32-libjpeg-turbo
libgcrypt lib32-libgcrypt ncurses lib32-ncurses ocl-icd lib32-ocl-icd
libxcrypt-compat lib32-libxcrypt-compat libva lib32-libva sqlite lib32-sqlite
gtk3 lib32-gtk3 vulkan-icd-loader lib32-vulkan-icd-loader
sdl2-compat lib32-sdl2-compat vkd3d lib32-vkd3d libgphoto2
libnm lib32-libnm
cabextract wget gamemode lib32-gamemode mangohud lib32-mangohud
# development
base-devel git meson mingw-w64-gcc cmake
# gaming
lutris python-protobuf steam steamtinkerlaunch
minigalaxy gamehub prismlauncher bottles playonlinux obs-studio
retroarch retroarch-assets-ozone libretro-beetle-psx-hw
libretro-blastem libretro-bsnes libretro-dolphin duckstation-gpl
libretro-gambatte libretro-melonds libretro-mgba libretro-nestopia
libretro-parallel-n64 libretro-picodrive libretro-ppsspp
libretro-yabause pcsx2-git lsfg-vk-git protonplus umu-launcher
# extra
nano ttf-dejavu ttf-liberation firefox mpv geany pcmanfm
htop qbittorrent speedcrunch gpicview file-roller openbox lxterminal
yt-dlp minizip nautilus genymotion jre17-openjdk gnome-themes-extra
ffmpegthumbnailer tmux
)
# If you want to install AUR packages, specify them in this variable
AUR_PACKAGES=(faugus-launcher-git)
# ALHP is a repository containing packages from the official Arch Linux
# repos recompiled with -O3, LTO and optimizations for modern CPUs for
# better performance
#
# When this repository is enabled, most of the packages from the official
# Arch Linux repos will be replaced with their optimized versions from ALHP
#
# Set this variable to any value if you want to enable this repository
ENABLE_ALHP_REPO=
# Feature levels for ALHP. Available feature levels are 2 and 3
# For level 2 you need a CPU with SSE4.2 instructions
# For level 3 you need a CPU with AVX2 instructions
ALHP_FEATURE_LEVEL=2
# Locales to configure in the image
LOCALES=(
'ar_EG.UTF-8 UTF-8'
'en_US.UTF-8 UTF-8'
'en_GB.UTF-8 UTF-8'
'en_CA.UTF-8 UTF-8'
'en_SG.UTF-8 UTF-8'
'es_MX.UTF-8 UTF-8'
'zh_CN.UTF-8 UTF-8'
'fr_FR.UTF-8 UTF-8'
'ru_RU.UTF-8 UTF-8'
'ru_UA.UTF-8 UTF-8'
'es_ES.UTF-8 UTF-8'
'de_DE.UTF-8 UTF-8'
'pt_BR.UTF-8 UTF-8'
'it_IT.UTF-8 UTF-8'
'id_ID.UTF-8 UTF-8'
'ja_JP.UTF-8 UTF-8'
'bg_BG.UTF-8 UTF-8'
'pl_PL.UTF-8 UTF-8'
'da_DK.UTF-8 UTF-8'
'ko_KR.UTF-8 UTF-8'
'tr_TR.UTF-8 UTF-8'
'hu_HU.UTF-8 UTF-8'
'cs_CZ.UTF-8 UTF-8'
'bn_IN UTF-8'
'hi_IN UTF-8'
)
# Content of pacman mirrorrlist file before reflector is installed and used to fetch new one
# shellcheck disable=2016
MIRRORLIST='
Server = https://mirror.osbeck.com/archlinux/$repo/os/$arch
Server = https://london.mirror.pkgbuild.com/$repo/os/$arch
Server = https://mirror.trap.moe/archlinux/$repo/os/$arch
Server = https://archlinux.thaller.ws/$repo/os/$arch
Server = https://de.arch.mirror.kescher.at/$repo/os/$arch
Server = https://mirror.cyberbits.eu/archlinux/$repo/os/$arch
Server = https://arch.jensgutermuth.de/$repo/os/$arch
Server = https://fastly.mirror.pkgbuild.com/$repo/os/$arch
Server = https://mirror.lcarilla.de/archlinux/$repo/os/$arch
Server = https://mirror.moson.org/arch/$repo/os/$arch
Server = https://arch.phinau.de/$repo/os/$arch
Server = https://mirrors.atviras.lt/archlinux/$repo/os/$arch
Server = https://ro.arch.niranjan.co/$repo/os/$arch
Server = https://ams.nl.mirrors.bjg.at/arch/$repo/os/$arch
Server = https://mirror.ubrco.de/archlinux/$repo/os/$arch
Server = https://archlinux.uk.mirror.allworldit.com/archlinux/$repo/os/$arch
'
# Enable this variable to use the system-wide mksquashfs/mkdwarfs instead
# of those provided by the Conty project
USE_SYS_UTILS=0
# Supported compression algorithms: lz4, zstd, gzip, xz, lzo
# These are the algorithms supported by the integrated squashfuse
# However, your squashfs-tools (mksquashfs) may not support some of them
SQUASHFS_COMPRESSOR="zstd"
SQUASHFS_COMPRESSOR_ARGUMENTS=(-b 1M -comp "${SQUASHFS_COMPRESSOR}" -Xcompression-level 19)
# Uncomment these variables if your mksquashfs does not support zstd or
# if you want faster compression/decompression (at the cost of compression ratio)
#SQUASHFS_COMPRESSOR="lz4"
#SQUASHFS_COMPRESSOR_ARGUMENTS=(-b 256K -comp "${SQUASHFS_COMPRESSOR}" -Xhc)
# Set to any value to Use DwarFS instead of SquashFS
USE_DWARFS=
DWARFS_COMPRESSOR_ARGUMENTS=(
-l7 -C zstd:level=19 --metadata-compression null
-S 22 -B 1 --order nilsimsa
-W 12 -w 4 --no-history-timestamps --no-create-timestamp
)
# Specify the proxy server that you want to use to download files and packages
# This can be specified like protocol://address (for example, socks5://127.0.0.1)
DOWNLOAD_PROXY=
# List of links to arch bootstrap archive
# Conty will try to download each one of them sequentially
BOOTSTRAP_DOWNLOAD_URLS=(
'https://umea.mirror.pkgbuild.com/iso/latest/archlinux-bootstrap-x86_64.tar.zst'
'https://de.arch.mirror.kescher.at/iso/latest/archlinux-bootstrap-x86_64.tar.zst'
'https://de.arch.niranjan.co/iso/latest/archlinux-bootstrap-x86_64.tar.zst'
'https://mirror.moson.org/arch/iso/latest/archlinux-bootstrap-x86_64.tar.zst'
'https://fastly.mirror.pkgbuild.com/iso/latest/archlinux-bootstrap-x86_64.tar.zst'
)
# sha256sums.txt file to verify downloaded bootstrap archive with
BOOTSTRAP_SHA256SUM_FILE_URL='https://umea.mirror.pkgbuild.com/iso/latest/sha256sums.txt'
# Set to any value to use an existing image if it exists
# Otherwise the script will always create a new image
USE_EXISTING_IMAGE=