Skip to content

Instantly share code, notes, and snippets.

@gusbemacbe
Last active August 7, 2024 21:52
Show Gist options
  • Save gusbemacbe/d062c4a581e79e2e750029004ed02476 to your computer and use it in GitHub Desktop.
Save gusbemacbe/d062c4a581e79e2e750029004ed02476 to your computer and use it in GitHub Desktop.
Quick Endeavour OS Live USB settings commands for wget with sh
#!/usr/bin/env bash
# Setting the keyboard layout to English (Macintosh)
setxkbmap -layout us -variant mac
# Setting the time zone to São Paulo timr
sudo timedatectl set-timezone America/Sao_Paulo
# Updating Arch Linux mirrors
sudo reflector \
--country CA,DE,ES,FR,GB,GE,GR,IT,NL,NZ,PT,RO,UA \
--protocol https \
--sort rate \
--fastest 30 \
--download-timeout 10 \
--threads 10 \
--save /etc/pacman.d/mirrorlist
# Synchronising the pacman database
sudo pacman -Sy
# Installing the local pacman packages from the portable SSD
sudo pacman -S endeavour-usb-live.pkg.tar.zst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment