Umstrukturierung und automatisches Layout
This commit is contained in:
parent
4fc1e37637
commit
fa7f87f477
16 changed files with 624 additions and 348 deletions
6
My-Install
Normal file
6
My-Install
Normal file
|
@ -0,0 +1,6 @@
|
|||
prep-BTRFS-UEFI.sh
|
||||
base.sh
|
||||
reboot
|
||||
paru.sh
|
||||
zramd.sh
|
||||
laptop.sh
|
91
base-temp.sh
Normal file
91
base-temp.sh
Normal file
|
@ -0,0 +1,91 @@
|
|||
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
|
||||
hwclock --systohc
|
||||
|
||||
# vim /etc/locale.gen
|
||||
sed -i 's/#\(de_DE.UTF-8\)/\1/' /etc/locale.gen
|
||||
locale-gen
|
||||
|
||||
echo "LANG=de_DE.UTF-8" >> /etc/locale.conf
|
||||
echo "KEYMAP=de-latin1" >> /etc/vconsole.conf #only for console not for DE or terminal
|
||||
echo "FONT=Tamsyn10x20r" >> /etc/vconsole.conf
|
||||
echo "arch" >> /etc/hostname
|
||||
# vim /etc/hosts
|
||||
echo "127.0.0.1 localhost" >> /etc/hosts
|
||||
echo "::1 localhost" >> /etc/hosts
|
||||
echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts
|
||||
echo root:test | chpasswd
|
||||
|
||||
|
||||
# Wish
|
||||
# pacman -S --noconfirm efibootmgr dialog iwd mtools doasfstools reflector base-devel linux-headers avahi nss-mdns xdg-user-dirs xdg-utils inetutils dnsutils bluez bluez-utils cups hplip alsa-utils pipewire pipewire-alsa pipewire-pulseaudio pipewire-jack pavucontrol bash-completion openssh rsync acpi acpi_call tlp virt-manager qemu qemu-arch-extra edk2-ovmf bridge-utils dnsmasq vde2 openbsd-netcat iptables-nft ipset firewalld sof-firmware acpid os-prober ntfs-3g tamsyn-font
|
||||
# i3
|
||||
|
||||
pacman -S efibootmgr dialog iwd mtools dosfstools reflector base-devel linux-headers avahi xdg-user-dirs xdg-utils gvfs gvfs-smb nfs-utils inetutils dnsutils bluez bluez-utils cups hplip alsa-utils pulseaudio xorg pavucontrol bash-completion openssh rsync acpi acpi_call tlp virt-manager qemu qemu-arch-extra edk2-ovmf bridge-utils dnsmasq vde2 openbsd-netcat iptables-nft ipset firewalld sof-firmware acpid os-prober ntfs-3g
|
||||
exit 0
|
||||
# All
|
||||
# pacman -S --noconfirm efibootmgr dialog <iwd>/<wpa_supplicant> mtools doasfstools reflector base-devel linux-headers <avahi> xdg-user-dirs xdg-utils <gvfs gvfs-smb nfs-utils> inetutils dnsutils bluez bluez-utils cups <hplip> alsa-utils pipewire pipewire-alsa pipewire-pulseaudio pipewire-jack pavucontrol bash-completion openssh rsync acpi acpi_call <tlp> <virt-manager qemu qemu-arch-extra edk2-ovmf bridge-utils dnsmasq vde2 openbsd-netcat> iptables-nft ipset firewalld <flatpak> <sof-firmware> <nss-mdns> acpid os-prober <ntfs-3g> treminus-font
|
||||
|
||||
# Filemanager
|
||||
# ranger
|
||||
# pcmanfm
|
||||
|
||||
pacman -S --noconfirm xf86-video-amdgpu
|
||||
|
||||
systemctl enable bluetooth
|
||||
systemctl enable cups.service
|
||||
systemctl enable sshd
|
||||
systemctl enable avahi-deamon
|
||||
systemctl enable reflector.timer
|
||||
systemctl enable fstrim.timer
|
||||
systemctl enable libvirtd
|
||||
systemctl enable firewalld
|
||||
systemctl enable acpid
|
||||
systemctl enable iwd
|
||||
|
||||
sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf
|
||||
# sed -i 's/MODULES=()/MODULES=(nvidia)/' /etc/mkinitcpio.conf
|
||||
# sed -i 's/MODULES=()/MODULES=(i915)/' /etc/mkinitcpio.conf
|
||||
|
||||
mkinitcpio -p linux
|
||||
# mkinitcpio -p linux-lts
|
||||
|
||||
bootctl install # be aware of Problems by dualbooting
|
||||
|
||||
# Bootloaderconfig
|
||||
sed -i 's/#\(timeout\)\s[0-9]/\1 5/' /boot/loader/loader.conf
|
||||
sed -i 's/#\(console\)/\1/' /boot/loader/loader.conf
|
||||
sed -i 's/keep/max/' /boot/loader/loader.conf
|
||||
sed -i 's/\(default\s\).*/\1arch.conf/' /boot/loader/loader.conf
|
||||
|
||||
# Entry
|
||||
echo "title Arch Linux" >> /boot/loader/entries/arch.conf
|
||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf
|
||||
echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf
|
||||
echo 'options root="LABEL=arch" rw' >> /boot/loader/entries/arch.conf
|
||||
|
||||
# Systemd-networkd (for wlan0)
|
||||
echo "[Match]" >> /etc/systemd/network/25-wireless.network
|
||||
echo "Name=wlan0" >> /etc/systemd/network/25-wireless.network
|
||||
echo "\n" >> /etc/systemd/network/25-wireless.network
|
||||
echo "[Network]" >> /etc/systemd/network/25-wireless.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/25-wireless.network
|
||||
|
||||
systemctl enable systemd-networkd
|
||||
systemctl enable systemd-resolved
|
||||
|
||||
useradd -m eichehome
|
||||
echo eichehome:testen | chpasswd
|
||||
usermod -aG libvirt eichehome
|
||||
|
||||
echo "eichehome ALL=(ALL) ALL" >> /etc/sudoers.d/eichehome
|
||||
|
||||
# Color /etc/pacman.conf
|
||||
#
|
||||
# ILoveCandy
|
||||
|
||||
printf "\e[1;32mDone: Type exit, umount -a and reboot.\n\e[0m"
|
||||
|
136
base.sh
136
base.sh
|
@ -1,3 +1,4 @@
|
|||
# Vor Reboot
|
||||
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
|
||||
hwclock --systohc
|
||||
|
||||
|
@ -15,49 +16,38 @@ echo "::1 localhost" >> /etc/hosts
|
|||
echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts
|
||||
echo root:test | chpasswd
|
||||
|
||||
pacman -S base-devel linux-headers linux-lts-headers
|
||||
|
||||
# Wish
|
||||
# pacman -S --noconfirm efibootmgr dialog iwd mtools doasfstools reflector base-devel linux-headers avahi nss-mdns xdg-user-dirs xdg-utils inetutils dnsutils bluez bluez-utils cups hplip alsa-utils pipewire pipewire-alsa pipewire-pulseaudio pipewire-jack pavucontrol bash-completion openssh rsync acpi acpi_call tlp virt-manager qemu qemu-arch-extra edk2-ovmf bridge-utils dnsmasq vde2 openbsd-netcat iptables-nft ipset firewalld sof-firmware acpid os-prober ntfs-3g tamsyn-font
|
||||
# i3
|
||||
pacman -S iwd dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completion openssh rsync iptables-nft ipset firewalld lynx
|
||||
|
||||
pacman -S efibootmgr dialog iwd mtools dosfstools reflector base-devel linux-headers avahi xdg-user-dirs xdg-utils gvfs gvfs-smb nfs-utils inetutils dnsutils bluez bluez-utils cups hplip alsa-utils pulseaudio xorg pavucontrol bash-completion openssh rsync acpi acpi_call tlp virt-manager qemu qemu-arch-extra edk2-ovmf bridge-utils dnsmasq vde2 openbsd-netcat iptables-nft ipset firewalld sof-firmware acpid os-prober ntfs-3g
|
||||
exit 0
|
||||
# All
|
||||
# pacman -S --noconfirm efibootmgr dialog <iwd>/<wpa_supplicant> mtools doasfstools reflector base-devel linux-headers <avahi> xdg-user-dirs xdg-utils <gvfs gvfs-smb nfs-utils> inetutils dnsutils bluez bluez-utils cups <hplip> alsa-utils pipewire pipewire-alsa pipewire-pulseaudio pipewire-jack pavucontrol bash-completion openssh rsync acpi acpi_call <tlp> <virt-manager qemu qemu-arch-extra edk2-ovmf bridge-utils dnsmasq vde2 openbsd-netcat> iptables-nft ipset firewalld <flatpak> <sof-firmware> <nss-mdns> acpid os-prober <ntfs-3g> treminus-font
|
||||
|
||||
# Filemanager
|
||||
# ranger
|
||||
# pcmanfm
|
||||
pacman -S efibootmgr mtools dosfstools
|
||||
|
||||
pacman -S --noconfirm xf86-video-amdgpu
|
||||
# pacman -S --noconfirm nvidia nvidia-utils nvidia-settings
|
||||
|
||||
systemctl enable bluetooth
|
||||
systemctl enable cups.service
|
||||
systemctl enable systemd-networkd
|
||||
systemctl enable systemd-resolved
|
||||
systemctl enable sshd
|
||||
systemctl enable avahi-deamon
|
||||
systemctl enable reflector.timer
|
||||
systemctl enable fstrim.timer
|
||||
systemctl enable libvirtd
|
||||
systemctl enable firewalld
|
||||
systemctl enable acpid
|
||||
systemctl enable fstrim.timer
|
||||
systemctl enable iwd
|
||||
|
||||
sed -i 's/MODULES=()/MODULES=(amdgpu)/' /etc/mkinitcpio.conf
|
||||
# sed -i 's/MODULES=()/MODULES=(nvidia)/' /etc/mkinitcpio.conf
|
||||
# sed -i 's/MODULES=()/MODULES=(i915)/' /etc/mkinitcpio.conf
|
||||
# sed -i 's/MODULES=()/MODULES=(nvidia)/' /etc/mkinitcpio.conf #Nvidia
|
||||
# sed -i 's/MODULES=()/MODULES=(i915)/' /etc/mkinitcpio.conf #Intel
|
||||
|
||||
mkinitcpio -p linux
|
||||
# mkinitcpio -p linux-lts
|
||||
mkinitcpio -p linux-lts
|
||||
|
||||
bootctl install # be aware of Problems by dualbooting
|
||||
bootctl install
|
||||
|
||||
# Bootloaderconfig
|
||||
sed -i 's/#\(timeout\)\s[0-9]/\1 5/' /boot/loader/loader.conf
|
||||
sed -i 's/#\(console\)/\1/' /boot/loader/loader.conf
|
||||
sed -i 's/keep/max/' /boot/loader/loader.conf
|
||||
sed -i 's/\(default\s\).*/\1arch.conf/' /boot/loader/loader.conf
|
||||
echo "timeout 5" > /boot/loader/loader.conf
|
||||
echo "console max" >> /boot/loader/loader.conf
|
||||
echo "default arch.conf" >> /boot/loader/loader.conf
|
||||
|
||||
# Entry
|
||||
# Entry Arch
|
||||
echo "title Arch Linux" >> /boot/loader/entries/arch.conf
|
||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch.conf
|
||||
# AMD
|
||||
|
@ -65,27 +55,83 @@ echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
|
|||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf
|
||||
echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf
|
||||
echo 'options root="LABEL=arch" rw' >> /boot/loader/entries/arch.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch.conf
|
||||
# Entry Arch LTS
|
||||
echo "title Arch Linux LTS" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "initrd /initramfs-linux-lts.img" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch-lts.conf
|
||||
# Entry Arch Fallback
|
||||
echo "title Arch Linux Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch-fallback.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
echo "initrd /initramfs-linux-fallback.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-fallback.conf
|
||||
# Entry Arch LTS Fallback
|
||||
echo "title Arch Linux LTS Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
echo "initrd /initramfs-linux-lts-fallback.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
|
||||
# Systemd-networkd (for wlan0)
|
||||
echo "[Match]" >> /etc/systemd/network/25-wireless.network
|
||||
echo "Name=wlan0" >> /etc/systemd/network/25-wireless.network
|
||||
echo "\n" >> /etc/systemd/network/25-wireless.network
|
||||
echo "[Network]" >> /etc/systemd/network/25-wireless.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/25-wireless.network
|
||||
# Netzwerk
|
||||
# Ethernet
|
||||
echo "[Match]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "Name=en*" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "Name=eth*" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||
# Wlan
|
||||
echo "[Match]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "Name=wl*" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-wlan.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||
# Wwan (Mobilefunk)
|
||||
echo "[Match]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "Name=ww*" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-wwan.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||
|
||||
systemctl enable systemd-networkd
|
||||
systemctl enable systemd-resolved
|
||||
|
||||
useradd -m eichehome
|
||||
useradd -mG wheel eichehome
|
||||
echo eichehome:testen | chpasswd
|
||||
usermod -aG libvirt eichehome
|
||||
|
||||
echo "eichehome ALL=(ALL) ALL" >> /etc/sudoers.d/eichehome
|
||||
|
||||
# Color /etc/pacman.conf
|
||||
#
|
||||
# ILoveCandy
|
||||
|
||||
printf "\e[1;32mDone: Type exit, umount -a and reboot.\n\e[0m"
|
||||
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers.d/wheel_group
|
||||
|
||||
sed -i 's/#\(Color\)/\1/' /etc/pacman.conf
|
||||
# Umbruch notwendug
|
||||
sed -i 's/#\(ParallelDownloads\s=\s5\)/\1\
|
||||
ILoveCandy/' /etc/pacman.conf
|
23
i3-part2.sh
Normal file
23
i3-part2.sh
Normal file
|
@ -0,0 +1,23 @@
|
|||
# iwctl - connect to wifi
|
||||
git clone https://aur.archlinux.org/paru
|
||||
cd paru
|
||||
makepkg -si
|
||||
cd ..
|
||||
|
||||
paru -S ly
|
||||
systemctl enable ly.service
|
||||
|
||||
sudo pacman -S xorg lightdm lightdm-slick-greeter i3 dmenu nitrogen lxappereance archlinux-wallpaper terminator picom firefox
|
||||
|
||||
sudo systemctl enable lightdm
|
||||
sudo vim /etc/lightdm/lightdm.conf
|
||||
# greeter-session=lightdm-slick-greeter
|
||||
# display-setup-script=xrandr --output Virtual-1 --mode 1920x1080
|
||||
|
||||
paru -S timeshift timeshift-autosnap zramd lightdm-settings
|
||||
|
||||
sudo systemctl enable --now zramd
|
||||
|
||||
#####
|
||||
|
||||
setxkbmap de
|
145
i3-temp.sh
Normal file
145
i3-temp.sh
Normal file
|
@ -0,0 +1,145 @@
|
|||
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
|
||||
hwclock --systohc
|
||||
|
||||
# vim /etc/locale.gen
|
||||
sed -i 's/#\(de_DE.UTF-8\)/\1/' /etc/locale.gen
|
||||
locale-gen
|
||||
|
||||
echo "LANG=de_DE.UTF-8" >> /etc/locale.conf
|
||||
echo "KEYMAP=de-latin1" >> /etc/vconsole.conf #only for console not for DE or terminal
|
||||
echo "FONT=Tamsyn10x20r" >> /etc/vconsole.conf
|
||||
echo "arch" >> /etc/hostname
|
||||
# vim /etc/hosts
|
||||
echo "127.0.0.1 localhost" >> /etc/hosts
|
||||
echo "::1 localhost" >> /etc/hosts
|
||||
echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts
|
||||
echo root:test | chpasswd
|
||||
|
||||
pacman -S base-devel linux-headers linux-lts-headers
|
||||
|
||||
# bind = dnsutils (dig, etc.)
|
||||
pacman -S dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completion openssh rsync iptables-nft ipset firewalld lynx
|
||||
|
||||
pacman -S efibootmgr mtools dosfstools
|
||||
|
||||
# Laptop
|
||||
pacman -S iwd bluez bluez-utils cups hplip alsa-utils pulseaudio
|
||||
|
||||
# Power
|
||||
pacman -S acpi acpi_call tlp
|
||||
|
||||
# Video AMD
|
||||
pacman -S --noconfirm xf86-video-amdgpu
|
||||
|
||||
# System
|
||||
systemctl enable systemd-networkd
|
||||
systemctl enable systemd-resolved
|
||||
systemctl enable sshd
|
||||
systemctl enable reflector.timer
|
||||
systemctl enable firewalld
|
||||
systemctl enable fstrim.timer
|
||||
# Laptop
|
||||
systemctl enable iwd
|
||||
systemctl enable cups
|
||||
systemctl enable bluetooth
|
||||
|
||||
sed -i 's/MODULES=()/MODULES=(btrfs amdgpu)/' /etc/mkinitcpio.conf
|
||||
|
||||
mkinitcpio -p linux
|
||||
mkinitcpio -p linux-ltp
|
||||
|
||||
bootctl install
|
||||
|
||||
# Bootloaderconfig
|
||||
echo "timeout 5" > /boot/loader/loader.conf
|
||||
echo "console max" >> /boot/loader/loader.conf
|
||||
echo "default arch.conf" >> /boot/loader/loader.conf
|
||||
|
||||
# Entry Arch
|
||||
echo "title Arch Linux" >> /boot/loader/entries/arch.conf
|
||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf
|
||||
echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch.conf
|
||||
# Entry Arch LTS
|
||||
echo "title Arch Linux LTS" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "initrd /initramfs-linux-lts.img" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch-lts.conf
|
||||
# Entry Arch Fallback
|
||||
echo "title Arch Linux Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch-fallback.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
echo "initrd /initramfs-linux-fallback.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-fallback.conf
|
||||
# Entry Arch LTS Fallback
|
||||
echo "title Arch Linux LTS Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
echo "initrd /initramfs-linux-lts-fallback.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
|
||||
# Netzwerk
|
||||
# Ethernet
|
||||
echo "[Match]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "Name=en*" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "Name=eth*" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||
# Wlan
|
||||
echo "[Match]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "Name=wl*" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-wlan.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||
# Wwan (Mobilefunk)
|
||||
echo "[Match]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "Name=ww*" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-wwan.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||
|
||||
useradd -mG wheel eichehome
|
||||
echo eichehome:testen | chpasswd
|
||||
|
||||
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers.d/wheel_group
|
||||
|
||||
sed -i 's/#\(Color\)/\1/' /etc/pacman.conf
|
||||
# Umbruch notwendug
|
||||
sed -i 's/#\(ParallelDownloads\s=\s5\)/\1\
|
||||
ILoveCandy/' /etc/pacman.conf
|
148
i3.sh
148
i3.sh
|
@ -1,145 +1,3 @@
|
|||
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
|
||||
hwclock --systohc
|
||||
|
||||
# vim /etc/locale.gen
|
||||
sed -i 's/#\(de_DE.UTF-8\)/\1/' /etc/locale.gen
|
||||
locale-gen
|
||||
|
||||
echo "LANG=de_DE.UTF-8" >> /etc/locale.conf
|
||||
echo "KEYMAP=de-latin1" >> /etc/vconsole.conf #only for console not for DE or terminal
|
||||
echo "FONT=Tamsyn10x20r" >> /etc/vconsole.conf
|
||||
echo "arch" >> /etc/hostname
|
||||
# vim /etc/hosts
|
||||
echo "127.0.0.1 localhost" >> /etc/hosts
|
||||
echo "::1 localhost" >> /etc/hosts
|
||||
echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts
|
||||
echo root:test | chpasswd
|
||||
|
||||
pacman -S base-devel linux-headers linux-lts-headers
|
||||
|
||||
# bind = dnsutils (dig, etc.)
|
||||
pacman -S dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completion openssh rsync iptables-nft ipset firewalld lynx
|
||||
|
||||
pacman -S efibootmgr mtools dosfstools
|
||||
|
||||
# Laptop
|
||||
pacman -S iwd bluez bluez-utils cups hplip alsa-utils pulseaudio
|
||||
|
||||
# Power
|
||||
pacman -S acpi acpi_call tlp
|
||||
|
||||
# Video AMD
|
||||
pacman -S --noconfirm xf86-video-amdgpu
|
||||
|
||||
# System
|
||||
systemctl enable systemd-networkd
|
||||
systemctl enable systemd-resolved
|
||||
systemctl enable sshd
|
||||
systemctl enable reflector.timer
|
||||
systemctl enable firewalld
|
||||
systemctl enable fstrim.timer
|
||||
# Laptop
|
||||
systemctl enable iwd
|
||||
systemctl enable cups
|
||||
systemctl enable bluetooth
|
||||
|
||||
sed -i 's/MODULES=()/MODULES=(btrfs amdgpu)/' /etc/mkinitcpio.conf
|
||||
|
||||
mkinitcpio -p linux
|
||||
mkinitcpio -p linux-ltp
|
||||
|
||||
bootctl install
|
||||
|
||||
# Bootloaderconfig
|
||||
echo "timeout 5" > /boot/loader/loader.conf
|
||||
echo "console max" >> /boot/loader/loader.conf
|
||||
echo "default arch.conf" >> /boot/loader/loader.conf
|
||||
|
||||
# Entry Arch
|
||||
echo "title Arch Linux" >> /boot/loader/entries/arch.conf
|
||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf
|
||||
echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch.conf
|
||||
# Entry Arch LTS
|
||||
echo "title Arch Linux LTS" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "initrd /initramfs-linux-lts.img" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch-lts.conf
|
||||
# Entry Arch Fallback
|
||||
echo "title Arch Linux Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch-fallback.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
echo "initrd /initramfs-linux-fallback.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-fallback.conf
|
||||
# Entry Arch LTS Fallback
|
||||
echo "title Arch Linux LTS Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
echo "initrd /initramfs-linux-lts-fallback.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
|
||||
# Netzwerk
|
||||
# Ethernet
|
||||
echo "[Match]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "Name=en*" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "Name=eth*" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||
# Wlan
|
||||
echo "[Match]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "Name=wl*" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-wlan.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||
# Wwan (Mobilefunk)
|
||||
echo "[Match]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "Name=ww*" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-wwan.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||
|
||||
useradd -mG wheel eichehome
|
||||
echo eichehome:testen | chpasswd
|
||||
|
||||
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers.d/wheel_group
|
||||
|
||||
sed -i 's/#\(Color\)/\1/' /etc/pacman.conf
|
||||
# Umbruch notwendug
|
||||
sed -i 's/#\(ParallelDownloads\s=\s5\)/\1\
|
||||
ILoveCandy/' /etc/pacman.conf
|
||||
# Nach Reboot
|
||||
sudo pacman -S xorg pulseaudio i3 alacritty pcmanfm nitrogen lxappearance dmenu firefox
|
||||
pacman -S xorg pulseaudio i3 lxappearance nitrogen pcmanfm chromium dmenu
|
158
kde-temp.sh
Normal file
158
kde-temp.sh
Normal file
|
@ -0,0 +1,158 @@
|
|||
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
|
||||
hwclock --systohc
|
||||
|
||||
# vim /etc/locale.gen
|
||||
sed -i 's/#\(de_DE.UTF-8\)/\1/' /etc/locale.gen
|
||||
locale-gen
|
||||
|
||||
echo "LANG=de_DE.UTF-8" >> /etc/locale.conf
|
||||
echo "KEYMAP=de-latin1" >> /etc/vconsole.conf #only for console not for DE or terminal
|
||||
echo "FONT=Tamsyn10x20r" >> /etc/vconsole.conf
|
||||
echo "arch" >> /etc/hostname
|
||||
# vim /etc/hosts
|
||||
echo "127.0.0.1 localhost" >> /etc/hosts
|
||||
echo "::1 localhost" >> /etc/hosts
|
||||
echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts
|
||||
echo root:test | chpasswd
|
||||
|
||||
#git clone https://aur.archlinux.org/paru-bin
|
||||
#cd paru-bin
|
||||
#makepkg -si
|
||||
#cd /
|
||||
|
||||
#AUR
|
||||
pacman -S base-devel linux-headers linux-lts-headers
|
||||
|
||||
#paru -S zramd
|
||||
|
||||
# bind = dnsutils (dig, etc.)
|
||||
pacman -S dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completion openssh rsync iptables-nft ipset firewalld lynx
|
||||
|
||||
pacman -S efibootmgr mtools dosfstools
|
||||
#pacman -S grub os-prober efibootmgr mtools dosfstools sof-firmware os-prober
|
||||
|
||||
pacman -S iwd plasma plasma-wayland-session kde-applications sddm bluez bluez-utils cups hplip alsa-utils pipewire pipewire-docs pipewire-alsa pipewire-pulse pipewire-jack helvum pavucontrol packagekit-qt5
|
||||
|
||||
#Power
|
||||
pacman -S acpi acpi_call tlp
|
||||
|
||||
# Video AMD
|
||||
pacman -S --noconfirm xf86-video-amdgpu
|
||||
|
||||
# System
|
||||
systemctl enable systemd-networkd
|
||||
systemctl enable systemd-resolved
|
||||
systemctl enable sshd
|
||||
systemctl enable reflector.timer
|
||||
systemctl enable firewalld
|
||||
systemctl enable fstrim.timer
|
||||
# Laptop
|
||||
systemctl enable iwd
|
||||
systemctl enable sddm
|
||||
systemctl enable cups
|
||||
systemctl enable bluetooth
|
||||
|
||||
sed -i 's/MODULES=()/MODULES=(btrfs amdgpu)/' /etc/mkinitcpio.conf
|
||||
|
||||
mkinitcpio -p linux
|
||||
mkinitcpio -p linux-ltp
|
||||
|
||||
bootctl install
|
||||
|
||||
# Bootloaderconfig
|
||||
echo "timeout 5" > /boot/loader/loader.conf
|
||||
echo "console max" >> /boot/loader/loader.conf
|
||||
echo "default arch.conf" >> /boot/loader/loader.conf
|
||||
#sed -i 's/#\(timeout\)\s[0-9]/\1 5/' /boot/loader/loader.conf
|
||||
#sed -i 's/#\(console\)/\1/' /boot/loader/loader.conf
|
||||
#sed -i 's/keep/max/' /boot/loader/loader.conf
|
||||
#sed -i 's/\(default\s\).*/\1arch.conf/' /boot/loader/loader.conf
|
||||
|
||||
# Entry Arch
|
||||
echo "title Arch Linux" >> /boot/loader/entries/arch.conf
|
||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf
|
||||
echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch.conf
|
||||
# Entry Arch LTS
|
||||
echo "title Arch Linux LTS" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "initrd /initramfs-linux-lts.img" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch-lts.conf
|
||||
# Entry Arch Fallback
|
||||
echo "title Arch Linux Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch-fallback.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
echo "initrd /initramfs-linux-fallback.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-fallback.conf
|
||||
# Entry Arch LTS Fallback
|
||||
echo "title Arch Linux LTS Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
echo "initrd /initramfs-linux-lts-fallback.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
|
||||
# Netzwerk
|
||||
# Ethernet
|
||||
echo "[Match]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "Name=en*" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "Name=eth*" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||
# Wlan
|
||||
echo "[Match]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "Name=wl*" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-wlan.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||
# Wwan (Mobilefunk)
|
||||
echo "[Match]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "Name=ww*" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-wwan.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||
|
||||
useradd -mG wheel eichehome
|
||||
echo eichehome:testen | chpasswd
|
||||
|
||||
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers.d/wheel_group
|
||||
|
||||
sed -i 's/#\(Color\)/\1/' /etc/pacman.conf
|
||||
# Umbruch notwendug
|
||||
sed -i 's/#\(ParallelDownloads\s=\s5\)/\1\
|
||||
ILoveCandy/' /etc/pacman.conf
|
160
kde.sh
160
kde.sh
|
@ -1,158 +1,2 @@
|
|||
ln -sf /usr/share/zoneinfo/Europe/Berlin /etc/localtime
|
||||
hwclock --systohc
|
||||
|
||||
# vim /etc/locale.gen
|
||||
sed -i 's/#\(de_DE.UTF-8\)/\1/' /etc/locale.gen
|
||||
locale-gen
|
||||
|
||||
echo "LANG=de_DE.UTF-8" >> /etc/locale.conf
|
||||
echo "KEYMAP=de-latin1" >> /etc/vconsole.conf #only for console not for DE or terminal
|
||||
echo "FONT=Tamsyn10x20r" >> /etc/vconsole.conf
|
||||
echo "arch" >> /etc/hostname
|
||||
# vim /etc/hosts
|
||||
echo "127.0.0.1 localhost" >> /etc/hosts
|
||||
echo "::1 localhost" >> /etc/hosts
|
||||
echo "127.0.1.1 arch.localedomain arch" >> /etc/hosts
|
||||
echo root:test | chpasswd
|
||||
|
||||
#git clone https://aur.archlinux.org/paru-bin
|
||||
#cd paru-bin
|
||||
#makepkg -si
|
||||
#cd /
|
||||
|
||||
#AUR
|
||||
pacman -S base-devel linux-headers linux-lts-headers
|
||||
|
||||
#paru -S zramd
|
||||
|
||||
# bind = dnsutils (dig, etc.)
|
||||
pacman -S dialog reflector xdg-user-dirs xdg-utils inetutils bind bash-completion openssh rsync iptables-nft ipset firewalld lynx
|
||||
|
||||
pacman -S efibootmgr mtools dosfstools
|
||||
#pacman -S grub os-prober efibootmgr mtools dosfstools sof-firmware os-prober
|
||||
|
||||
pacman -S iwd plasma plasma-wayland-session kde-applications sddm bluez bluez-utils cups hplip alsa-utils pipewire pipewire-docs pipewire-alsa pipewire-pulse pipewire-jack helvum pavucontrol packagekit-qt5
|
||||
|
||||
#Power
|
||||
pacman -S acpi acpi_call tlp
|
||||
|
||||
# Video AMD
|
||||
pacman -S --noconfirm xf86-video-amdgpu
|
||||
|
||||
# System
|
||||
systemctl enable systemd-networkd
|
||||
systemctl enable systemd-resolved
|
||||
systemctl enable sshd
|
||||
systemctl enable reflector.timer
|
||||
systemctl enable firewalld
|
||||
systemctl enable fstrim.timer
|
||||
# Laptop
|
||||
systemctl enable iwd
|
||||
systemctl enable sddm
|
||||
systemctl enable cups
|
||||
systemctl enable bluetooth
|
||||
|
||||
sed -i 's/MODULES=()/MODULES=(btrfs amdgpu)/' /etc/mkinitcpio.conf
|
||||
|
||||
mkinitcpio -p linux
|
||||
mkinitcpio -p linux-ltp
|
||||
|
||||
bootctl install
|
||||
|
||||
# Bootloaderconfig
|
||||
echo "timeout 5" > /boot/loader/loader.conf
|
||||
echo "console max" >> /boot/loader/loader.conf
|
||||
echo "default arch.conf" >> /boot/loader/loader.conf
|
||||
#sed -i 's/#\(timeout\)\s[0-9]/\1 5/' /boot/loader/loader.conf
|
||||
#sed -i 's/#\(console\)/\1/' /boot/loader/loader.conf
|
||||
#sed -i 's/keep/max/' /boot/loader/loader.conf
|
||||
#sed -i 's/\(default\s\).*/\1arch.conf/' /boot/loader/loader.conf
|
||||
|
||||
# Entry Arch
|
||||
echo "title Arch Linux" >> /boot/loader/entries/arch.conf
|
||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch.conf
|
||||
echo "initrd /initramfs-linux.img" >> /boot/loader/entries/arch.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch.conf
|
||||
# Entry Arch LTS
|
||||
echo "title Arch Linux LTS" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "initrd /initramfs-linux-lts.img" >> /boot/loader/entries/arch-lts.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@ rw" >> /boot/loader/entries/arch-lts.conf
|
||||
# Entry Arch Fallback
|
||||
echo "title Arch Linux Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||
echo "linux /vmlinuz-linux" >> /boot/loader/entries/arch-fallback.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
echo "initrd /initramfs-linux-fallback.img" >> /boot/loader/entries/arch-fallback.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-fallback.conf
|
||||
# Entry Arch LTS Fallback
|
||||
echo "title Arch Linux LTS Fallback" > /boot/loader/entries/arch-fallback.conf
|
||||
echo "linux /vmlinuz-linux-lts" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
# AMD
|
||||
echo "initrd /amd-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
# Intel
|
||||
# echo "initrd /intel-ucode.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
echo "initrd /initramfs-linux-lts-fallback.img" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
echo "options root=LABEL=arch rootflags=subvol=@" >> /boot/loader/entries/arch-lts-fallback.conf
|
||||
|
||||
# Netzwerk
|
||||
# Ethernet
|
||||
echo "[Match]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "Name=en*" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "Name=eth*" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-ethernet.network
|
||||
echo "RouteMetric=100" >> /etc/systemd/network/20-ethernet.network
|
||||
# Wlan
|
||||
echo "[Match]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "Name=wl*" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-wlan.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||
echo "" >> /etc/systemd/network/20-wlan.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wlan.network
|
||||
echo "RouteMetric=600" >> /etc/systemd/network/20-wlan.network
|
||||
# Wwan (Mobilefunk)
|
||||
echo "[Match]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "Name=ww*" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[Network]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "DHCP=yes" >> /etc/systemd/network/20-wwan.network
|
||||
echo "IPv6PrivacyExtensions=yes" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[DHCPv4]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||
echo "" >> /etc/systemd/network/20-wwan.network
|
||||
echo "[IPv6AcceptRA]" >> /etc/systemd/network/20-wwan.network
|
||||
echo "RouteMetric=700" >> /etc/systemd/network/20-wwan.network
|
||||
|
||||
useradd -mG wheel eichehome
|
||||
echo eichehome:testen | chpasswd
|
||||
|
||||
echo "%wheel ALL=(ALL) ALL" >> /etc/sudoers.d/wheel_group
|
||||
|
||||
sed -i 's/#\(Color\)/\1/' /etc/pacman.conf
|
||||
# Umbruch notwendug
|
||||
sed -i 's/#\(ParallelDownloads\s=\s5\)/\1\
|
||||
ILoveCandy/' /etc/pacman.conf
|
||||
# Nach Reboot
|
||||
sudo pacman -S plasma kde-applications alsa-utils pipewire pipewire-docs pipewire-alsa pipewire-pulse pipewire-jack packagekit-qt5 kio kio-extras kio-fuse
|
11
laptop.sh
Normal file
11
laptop.sh
Normal file
|
@ -0,0 +1,11 @@
|
|||
# Nach reboot
|
||||
sudo pacman -S bluez bluez-utils cups hplip
|
||||
|
||||
sudo pacman -S acpi acpi_call tlp
|
||||
|
||||
sudo systemctl enable cups
|
||||
sudo systemctl enable bluetooth
|
||||
sudo systemctl enable tlp
|
||||
|
||||
paru -S ly
|
||||
sudo systemctl enable ly.service
|
4
paru.sh
Normal file
4
paru.sh
Normal file
|
@ -0,0 +1,4 @@
|
|||
# Nach Reboot
|
||||
git clone https://aur.archlinux.org/paru
|
||||
cd paru
|
||||
makepkg -si
|
47
prep-BTRFS-UEFI.sh
Normal file
47
prep-BTRFS-UEFI.sh
Normal file
|
@ -0,0 +1,47 @@
|
|||
# Vor Reboot
|
||||
#localectl set-keymap de-latin1
|
||||
|
||||
#ip -c a
|
||||
# rfkill unblock wifi
|
||||
# iwctl
|
||||
#pacman -Sy
|
||||
|
||||
#pacman -S tamsyn-font
|
||||
#setfont Tamsyn10x20r
|
||||
|
||||
timedatectl set-ntp true
|
||||
|
||||
echo -n "o\ny\nyn\n\n\n+300M\nef00\nn\n\n\n\n\nw\ny\n" | gdisk /dev/vda
|
||||
#gdisk /dev/vda
|
||||
# /dev/vda1 300M EFI
|
||||
# /dev/vda2 Rest /
|
||||
|
||||
mkfs.vfat /dev/vda1 -n EFI
|
||||
mkfs.btrfs /dev/vda2 -L arch
|
||||
|
||||
mount /dev/vda2 /mnt
|
||||
cd mnt
|
||||
btrfs subvolume create @
|
||||
btrfs subvolume create @home
|
||||
btrfs subvolume create @var
|
||||
btrfs subvolume create @log
|
||||
btrfs subvolume create @cache
|
||||
cd ~
|
||||
umount -R /mnt
|
||||
|
||||
mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@ /dev/vda2 /mnt
|
||||
mkdir -p /mnt/{home,boot,var}
|
||||
mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@home /dev/vda2 /mnt/home
|
||||
mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@var /dev/vda2 /mnt/var
|
||||
mkdir -p /mnt/var/{cache,log}
|
||||
mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@log /dev/vda2 /mnt/var/log
|
||||
mount -o noatime,compress=zstd,space_cache=v2,discard=async,subvol=@cache /dev/vda2 /mnt/var/cache
|
||||
mount /dev/vda1 /mnt/boot
|
||||
|
||||
pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git btrfs-progs
|
||||
|
||||
# discoverable-partitions-spec
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
|
||||
ln -sf /run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf
|
||||
arch-chroot /mnt
|
32
prep-Ext4-UEFI.sh
Normal file
32
prep-Ext4-UEFI.sh
Normal file
|
@ -0,0 +1,32 @@
|
|||
# Vor Reboot
|
||||
localectl set-keymap de-latin1
|
||||
|
||||
ip -c a
|
||||
# rfkill unblock wifi
|
||||
# iwctl
|
||||
pacman -Sy
|
||||
|
||||
pacman -S tamsyn-font
|
||||
setfont Tamsyn10x20r
|
||||
|
||||
timedatectl set-ntp true
|
||||
|
||||
fdisk /dev/vda
|
||||
# /dev/vda1 300M EFI
|
||||
# /dev/vda2 4G SWAP
|
||||
# /dev/vda3 Rest /
|
||||
|
||||
mkfs.vfat /dev/vda1
|
||||
mkswap /dev/vda2
|
||||
swapon /dev/vda2
|
||||
mkfs.ext4 /dev/vda3 -L arch
|
||||
|
||||
mount /dev/vda3 /mnt
|
||||
mkdir /mnt/boot
|
||||
mount /dev/vda1 /mnt/boot
|
||||
|
||||
pacstrap /mnt base linux linux-lts linux-firmware amd-ucode tamsyn-font vim git
|
||||
|
||||
genfstab -U /mnt >> /mnt/etc/fstab
|
||||
ln -sf /run/systemd/resolve/stub-resolv.conf /mnt/etc/resolv.conf
|
||||
arch-chroot /mnt
|
3
swayland.sh
Normal file
3
swayland.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Nach Reboot
|
||||
pacman -S sway swaylock waybar wallutils swayidle dmenu
|
||||
pacman -S grim
|
5
wayfire.sh
Normal file
5
wayfire.sh
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Nach Reboot
|
||||
pacman -S wayfire waybar waylock dmenu picom alacritty wallutils
|
||||
pacman -S
|
||||
paru -S dmenu-wayland-git dmenu-bluetooth kpmenu
|
||||
kglarhdlajhghfipaghk#wkgp395724to38uzt937wt0zt4
|
3
zramd.sh
Normal file
3
zramd.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
# Nach reboot
|
||||
sudo paru -S zramd
|
||||
sudo systemctl enable --now zramd
|
Loading…
Reference in a new issue