commit d86b6ce88dabb657a158f27f5a057b49eeb4e534
Author: Markus Hanetzok <markus@hanetzok.net>
Date: Mon, 23 Jun 2025 22:14:23 +0200
initial commit
Diffstat:
4 files changed, 126 insertions(+), 0 deletions(-)
diff --git a/README b/README
@@ -0,0 +1,7 @@
+archsetup
+=========
+very simple scripts to setup a new arch install.
+
+CAUTION
+-------
+These scripts are hacky, without proper checks or error handling!
diff --git a/install.sh b/install.sh
@@ -0,0 +1,8 @@
+#!/bin/bash
+
+[[ -d /mnt/boot ]] || { echo "Mount your partitions first!"; exit 1; }
+
+pacstrap /mnt base base-devel amd-ucode efibootmgr grub lynx networkmanager neovim man-db
+genfstab -U /mnt >> /mnt/etc/fstab
+cp ./post-install.sh /mnt/tmp/post-install.sh
+cp ./progs.list /mnt/tmp/progs.list
diff --git a/post-install.sh b/post-install.sh
@@ -0,0 +1,31 @@
+#!/bin/bash
+
+# some variables
+tz='Europe/Berlin'
+locale='de_DE.UTF-8'
+username='markus'
+
+echo "Set and generate locale..."
+echo "$locale" >> /etc/locale.gen
+locale-gen
+echo "LANG=$locale" >> /etc/locale.conf
+
+echo "Set timezone..."
+ln -sf /usr/share/zoneinfo/$tz /etc/localtime
+echo "Set root password..."
+passwd
+
+echo "Adding user..."
+useradd -m -G wheel -s /bin/zsh $username
+echo "Set user password..."
+passwd $username
+
+echo "Install grub..."
+grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB
+
+echo "Enabling services..."
+systemctl enable NetworkManager
+
+while read line; do
+ pacman -S --no-confirm $line
+done < ./progs.list
diff --git a/progs.list b/progs.list
@@ -0,0 +1,80 @@
+arandr
+atool
+bc
+borg
+cronie
+cups
+dos2unix
+dosfstools
+dunst
+exfat-utils
+fastfetch
+firefox
+fzf
+git
+gnome-keyring
+hplip
+htop
+jellyfin-media-player
+jq
+keepassxc
+lib32-amdgpu-pro-oglp
+lib32-gnutls
+lib32-libpulse
+lib32-mesa
+lib32-vulkan-amdgpu-pro
+lib32-vulkan-mesa-layers
+lib32-vulkan-radeon
+libgnome-keyring
+libgsf
+libnotify
+links
+linux
+linux-firmware
+lutris
+maim
+mediainfo
+moreutils
+mpc
+mpd
+mpv
+ncmpcpp
+neomutt
+neovim
+nextcloud-client
+nfs-utils
+nsxiv
+ntfs-3g
+ntp
+pamixer
+poppler
+pulseaudio
+pulsemixer
+qutebrowser
+ranger
+rsync
+simple-mtpfs
+system-config-printer
+terminus-font
+ttf-ibm-plex
+unclutter
+vulkan-amdgpu-pro
+vulkan-radeon
+vulkan-tools
+w3m
+wine
+wine-gecko
+wine-mono
+xcape
+xclip
+xcompmgr
+xf86-video-amdgpu
+xorg-server
+xorg-xdpyinfo
+xorg-xev
+xorg-xinit
+xorg-xsetroot
+xwallpaper
+zathura
+zathura-pdf-mupdf
+zsh