2023-03-31 06:51:23 +00:00
|
|
|
# Use US layout with US variant
|
|
|
|
KEYMAPOPTS="us us"
|
|
|
|
|
|
|
|
# Set hostname to 'alpine'
|
|
|
|
HOSTNAMEOPTS=alpine
|
|
|
|
|
|
|
|
# Set device manager to mdev
|
|
|
|
DEVDOPTS=mdev
|
|
|
|
|
|
|
|
# Set timezone to America/Chicago
|
|
|
|
TIMEZONEOPTS="America/Chicago"
|
|
|
|
|
|
|
|
# Set http/ftp proxy
|
|
|
|
PROXYOPTS=none
|
|
|
|
|
|
|
|
# Add mirrors (CDN) and enable all repositories, including edge
|
|
|
|
APKREPOSOPTS="http://dl-cdn.alpinelinux.org/alpine/v3.14/main
|
|
|
|
http://dl-cdn.alpinelinux.org/alpine/v3.14/community
|
|
|
|
http://dl-cdn.alpinelinux.org/alpine/edge/main
|
|
|
|
http://dl-cdn.alpinelinux.org/alpine/edge/community
|
|
|
|
http://dl-cdn.alpinelinux.org/alpine/edge/testing"
|
|
|
|
|
|
|
|
# Create user 'brad' with real name 'brad' and password 'admin'
|
|
|
|
USEROPTS="-a -u brad -G users -s /bin/ash -c brad brad"
|
|
|
|
PASSWOPTS="admin"
|
|
|
|
|
|
|
|
# Install Openssh
|
|
|
|
SSHDOPTS=openssh
|
|
|
|
|
|
|
|
# Use chrony
|
|
|
|
NTPOPTS=chrony
|
|
|
|
|
|
|
|
# Disk setup will be interactive
|
|
|
|
DISKOPTS="-i"
|
|
|
|
|
|
|
|
# Install vim, git, i3, and required packages for i3
|
|
|
|
PKGSOPTS="vim git i3wm i3lock i3status dmenu xf86-video-vesa xf86-input-evdev"
|
|
|
|
|
|
|
|
# Configure xinitrc to start i3 and run setup-xorg-base script
|
|
|
|
POSTINSTALLOPTS="
|
2023-03-31 07:18:15 +00:00
|
|
|
apk add setup-xorg-base
|
2023-03-31 06:51:23 +00:00
|
|
|
setup-xorg-base
|
|
|
|
echo 'exec i3' > /home/brad/.xinitrc
|
|
|
|
chown brad:users /home/brad/.xinitrc
|
|
|
|
"
|
|
|
|
|