X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/m1-debian/blobdiff_plain/7fd4b59a229bc54faf9642a518311ad9a9564c2f..ee33aee310fd96400ab2a20942437795f3d9149a:/files/quickstart.txt diff --git a/files/quickstart.txt b/files/quickstart.txt index 34a61d7..6d94093 100644 --- a/files/quickstart.txt +++ b/files/quickstart.txt @@ -113,12 +113,12 @@ cat < /etc/fstab EOF cat < /etc/apt/sources.list -deb http://den.debian.org/debian testing main contrib non-free -deb-src http://den.debian.org/debian testing main contrib non-free +deb http://deb.debian.org/debian testing main contrib non-free +deb-src http://deb.debian.org/debian testing main contrib non-free EOF apt update -apt-get -y install initramfs-tools pciutils wpasupplicant tcpdump vim tmux vlan ntpdate parted curl wget grub-efi-arm64 mtr-tiny dbus ca-certificates sudo openssh-client mtools gdisk +apt-get -y install initramfs-tools pciutils wpasupplicant tcpdump vim tmux vlan ntpdate parted curl wget grub-efi-arm64 mtr-tiny dbus ca-certificates sudo openssh-client mtools gdisk firmware-linux cryptsetup apt-get install -y grub-efi-arm64-signed- echo 'grub-efi-arm64 grub2/update_nvram boolean false' | debconf-set-selections @@ -144,6 +144,8 @@ network={ } EOF +passwd + tar -C /lib/firmware/ -xf /boot/efi/vendorfw/firmware.tar cat < /etc/network/interfaces @@ -167,6 +169,7 @@ exit cd / umount /mnt/boot/efi +umount /mnt/sys/firmware/efi/efivars umount /mnt/sys umount /mnt/proc umount /mnt/dev/pts @@ -256,3 +259,27 @@ sudo parted /dev/nvme0n1 rm # If you're asked if you want to proceed, say 'y'. If your asked if you want to # ignore, say, ignore. + +Control Charging +================ +# Do not charge +echo inhibit-charge > /sys/class/power_supply/macsmc-battery/charge_behaviour + +# Default +echo auto > /sys/class/power_supply/macsmc-battery/charge_behaviour + +# Force discharge +echo force-discharge > /sys/class/power_supply/macsmc-battery/charge_behaviour + +# Find out which device tree you're using +cat /proc/device-tree/compatible + +# Bluetooth +https://g3la.de/hedgedoc/s/MIaCyVv1A#Bluetooth + +# Set Firefox as default browser +xdg-mime default firefox-esr.desktop x-scheme-handler/https x-scheme-handler/http + +Get it running with debian and crypto file system +================================================= +https://g3la.de/hedgedoc/buDIXGBuRzKMwUnYOpStuw#