Compare commits

3 Commits

Author SHA1 Message Date
72dabbdf96 Update install.sh
Add timezone Europe/Berlin
2025-06-18 09:36:05 +02:00
6b3545f865 Add set timezone 2025-06-17 14:12:26 +02:00
0dc59d2002 Update README.md 2025-05-29 00:44:01 +02:00
2 changed files with 42 additions and 35 deletions

View File

@ -4,7 +4,7 @@
This installation script aims for a simple (read minimal) Arch Linux installation, which is modern in the way that it uses UEFI, systemd-boot and Wayland, secure in the way that it uses full-disk encryption using LUKS as well as flexibility by using Btrfs subvolumes for the root and home partition. This installation script aims for a simple (read minimal) Arch Linux installation, which is modern in the way that it uses UEFI, systemd-boot and Wayland, secure in the way that it uses full-disk encryption using LUKS as well as flexibility by using Btrfs subvolumes for the root and home partition.
Tested and working as of **February 2025**. Tested and working as of **May 2025**.
![Post-install screenshot.](img/screenshot.png) ![Post-install screenshot.](img/screenshot.png)

View File

@ -246,53 +246,53 @@ echo
# Installing base system. # Installing base system.
echo "Installing basic packages.." echo "Installing basic packages.."
# Basis-Pakete # Base packages
base_packages=( base_packages=(
base base # Arch Linux Base
btrfs-progs btrfs-progs # Btrfs
firefox firefox
konsole konsole # Terminal
linux linux
linux-firmware linux-firmware
linux-zen linux-zen
nano nano # Editor
networkmanager networkmanager
sddm sddm # Display Manager
sddm-kcm sddm-kcm # KConfig module
sudo sudo
xorg-xwayland xorg-xwayland
plasma-desktop plasma-desktop
plasma-nm plasma-nm # Network manager applet
) )
# Notwendige Plasma-Integrationen # Necessary Plasma integrations
plasma_integrations=( plasma_integrations=(
plasma-pa plasma-pa # Audio applet
breeze-gtk breeze-gtk # Widget theme
kde-gtk-config kde-gtk-config # Syncs KDE settings to GTK applications
kdeplasma-addons kdeplasma-addons # Misc addons: https://github.com/KDE/kdeplasma-addons
kscreen kscreen # Adds screen management to settings
plasma-browser-integration plasma-browser-integration
powerdevil powerdevil # Power management
) )
# KDE Utilities # KDE Utilities
kde_utils=( kde_utils=(
ark ark # Archiving tool
bluedevil bluedevil # Bluetooth
discover discover # GUI package management
dolphin dolphin # File browser
filelight filelight # Disk usage analyzer
gwenview gwenview # Image viewer
kate kate # Text editor
kcalc kcalc # Calculator
kdeconnect kdeconnect # Mobile synchronisation tool
kinfocenter kinfocenter # System information
kmag #kmag # Doesn't work on Wayland
plasma-systemmonitor plasma-systemmonitor
okular okular # PDF viewer
partitionmanager partitionmanager # partitioning utility
spectacle spectacle # Screenshot utility
) )
# Additional default software # Additional default software
@ -304,7 +304,7 @@ default_software=(
wireplumber wireplumber
) )
# Alle Pakete zusammenführen # Put all packages together
all_packages=( all_packages=(
"${base_packages[@]}" "${base_packages[@]}"
"${plasma_integrations[@]}" "${plasma_integrations[@]}"
@ -312,25 +312,32 @@ all_packages=(
"${default_software[@]}" "${default_software[@]}"
) )
# Pakete installieren # Install packages
pacstrap "/mnt" "${all_packages[@]}" pacstrap "/mnt" "${all_packages[@]}"
echo "Base system installed." echo "Base system installed."
echo echo
# Generating fstab. # Generating fstab
echo "Generating fstab.." echo "Generating fstab.."
genfstab -Up "/mnt" > "/mnt/etc/fstab" genfstab -Up "/mnt" > "/mnt/etc/fstab"
echo "Done." echo "Done."
echo echo
# Setting hostname. # Setting timezone
echo "Setting timezone.."
arch-chroot "/mnt" ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
arch-chroot "/mnt" hwclock --systohc
echo "Done."
echo
# Setting hostname
echo "Setting hostname.." echo "Setting hostname.."
echo "${host}" > "/mnt/etc/hostname" echo "${host}" > "/mnt/etc/hostname"
echo "Done." echo "Done."
echo echo
# Setting locale. # Setting locale
echo "Setting and generating locale.." echo "Setting and generating locale.."
cat << EOF > "/mnt/etc/locale.gen" cat << EOF > "/mnt/etc/locale.gen"
en_US.UTF-8 UTF-8 en_US.UTF-8 UTF-8