Compare commits

..

No commits in common. "d74f79c630344b664926873b8367e0662350d92f" and "ca2f5460406503bf9bf93549496fb26f82bfdae7" have entirely different histories.

View file

@ -34,7 +34,7 @@ SizeMaxBytes=3G
Format=swap
EOF
cd .. || exit
cd ..
# Temporär
#touch "${DEVICE}"
@ -65,13 +65,11 @@ HOSTNAME_NEW="arch-build"
KERNEL="linux"
BASE=( base )
BASE_DEVEL=( base-devel)
INITRD=( mkinitcpio )
MICROCODE="amd-ucode"
#WIFI_BACKEND=( wpa_supplicant )
NETWORK=( iptables-nft firewalld inetutils avahi )
MKOSI=( mkosi cpio gptfdisk )
OTHER=( vim "${MKOSI[@]}" git lynx openssh htop bash-completion man-db man-pages reflector "${BASE[@]}" "${BASE_DEVEL[@]}" "${INITRD[@]}" plymouth linux-firmware xdg-utils opendoas )
WIFI_BACKEND=( wpa_supplicant )
NETWORK=( iptables-nft firewalld inetutils avahi networkmanager networkmanager-openconnect networkmanager-openvpn networkmanager-pptp networkmanager-vpnc "${WIFI_BACKEND[@]}" modemmanager )
OTHER=( vim mkosi git lynx openssh htop bash-completion man-db man-pages reflector "${BASE[@]}" "${INITRD[@]}" plymouth linux-firmware xdg-utils )
pacstrap /mnt "${KERNEL}" "${MICROCODE}" "${NETWORK[@]}" "${OTHER[@]}"
arch-chroot /mnt hwclock --systohc
@ -100,12 +98,7 @@ ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
EOF
cat /mnt/etc/doas.conf << EOF
permit :wheel
EOF
arch-chroot /mnt chpasswd <<< "root:testen"
arch-chroot /mnt useradd -mG wheel build
arch-chroot /mnt chpasswd <<< "build:build"
sed -i 's/#\(CHARACTER_SET:\).*/\1utf-8/' /mnt/etc/lynx.cfg
@ -125,14 +118,13 @@ EOF
arch-chroot /mnt systemctl enable systemd-resolved
arch-chroot /mnt systemctl enable systemd-timesyncd
#arch-chroot /mnt systemctl enable NetworkManager
arch-chroot /mnt systemctl enable systemd-networkd
arch-chroot /mnt systemctl enable NetworkManager
arch-chroot /mnt systemctl enable reflector.timer
arch-chroot /mnt systemctl enable firewalld
arch-chroot /mnt systemctl enable fstrim.timer
#arch-chroot /mnt systemctl enable gdm
arch-chroot /mnt systemctl enable gdm
arch-chroot /mnt systemctl enable avahi-daemon
#arch-chroot /mnt systemctl enable bluetooth
arch-chroot /mnt systemctl enable bluetooth
sed -i 's/^HOOKS=(.*)/HOOKS=(base systemd keyboard plymouth autodetect sd-vconsole modconf kms block filesystems fsck)/' /mnt/etc/mkinitcpio.conf