latest stand

This commit is contained in:
koksnuss 2019-08-09 14:58:11 +02:00
parent f26e1bd4ba
commit 355dab0489
2 changed files with 40 additions and 10 deletions

1
bsf Submodule

@ -0,0 +1 @@
Subproject commit 29cb17026c5c69b81b169224d4f4d87d525748b6

View File

@ -1,21 +1,25 @@
#!/bin/bash
cd /root/archinstall
# install parameters
# the storage device on which arch linux shall be installed
storage_device='/dev/nvme0n1'
#storage_device='/dev/sda'
#storage_device='/dev/mmcblk0'
# encryption password
encryption_password='bapede bupi'
host='motop'
root_password='foo'
user='moritz'
user_password='foo'
email='moritzmuench@mailbox.org'
encryption_password='foobar'
host='foobar'
root_password='foobar'
user='foobar'
user_password='foobar'
email='foo@bar.org'
boot_mode='efi'
#boot_mode='bios'
# packages to install
base='base base-devel grub efibootmgr xf86-input-synaptics stow tmux git vim python3 go wpa_supplicant dialog gnome gnome-tweaks libreoffice-fresh virtualbox virtualbox-guest-iso firefox hunspell-de nextcloud-client evolution vlc gst-libav gst-plugins-ugly progress gimp cups samsung-unified-driver sane xsane tlp tp_smapi acpi_call ntfs-3g gimagereader-gtk tesseract-date-eng tesseract-data-deu nmap youtube-dl octave kdenlive pkgfile signal-desktop-bin telegram-desktop-bin freecad zotero slic3r-bin downgrade pmount'
base='base base-devel grub efibootmgr xf86-input-synaptics stow tmux git vim python3 go wpa_supplicant dialog gnome gnome-tweaks libreoffice-fresh virtualbox virtualbox-guest-iso firefox hunspell-de nextcloud-client evolution vlc gst-libav gst-plugins-ugly progress gimp cups samsung-unified-driver sane xsane tlp tp_smapi acpi_call ntfs-3g gimagereader-gtk tesseract-date-eng tesseract-data-deu nmap youtube-dl octave kdenlive pkgfile signal-desktop-bin telegram-desktop-bin freecad zotero slic3r-bin downgrade pmount ttf-ms-fonts openvpn networkmanager-openvpn net-tools networkmanager-openconnect skypeforlinux-stable-bin fritzing python-pipenv'
# helper
cd $(dirname "${BASH_SOURCE[0]}")
source bsf/bsf
s() { $* >/dev/null; }
S() { $* >/dev/null 2>&1; }
e() { echo -n " ::: $* ... "; }
@ -28,6 +32,8 @@ else
storage="$storage_device"
fi
root
e "checking internet connection"
s ping -c1 archlinux.org
@ -211,7 +217,30 @@ s git config --global user.email "$email"
s git config --global user.name "$user"
d
#e "restoring config"
e "disable touchscreen"
s echo 'SUBSYSTEM=="usb", ATTRS{idVendor}=="2386", ATTRS{idProduct}=="3114", ATTR{authorized}="0" > /etc/udev/rules.d/80-touchscreen.rules
d
#TOTEST: restore git .files
e "restoring config"
cd "$HOME"
s mkdir -p it
cd it
s git clone https://willipink.eu/git/moritz/.files.git
cd .files
s bash ./setup.sh -bs
d
#TODO
## enabled gnome-extensions, * are not installed by default
#*Hide app icon
#*Hide activities button
#Removable drive menu
#Places status indicator
#*Arch Linux updates indicator
#-> einstellungen -> erweiterte einstellungen -> Kommando, um Pakete zu aktualisieren:
#gnome-terminal -e 'yay -Syu --noconfirm --nocleanmenu --nodiffmenu --noeditmenu --noremovemake --norebuild --noredownload'
#+Tray icon
exit
EOF