Created
November 18, 2021 00:49
-
-
Save luisc009/8698dd9cc17dd3445e2370d22dd1e6f7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
ln -sf /usr/share/zoneinfo/America/Mexico_City /etc/localtime | |
hwclock --systohc | |
sed -i '177s/.//' /etc/locale.gen | |
locale-gen | |
echo "LANG=en_US.UTF-8" >> /etc/locale.conf | |
echo "KEYMAP=de_CH-latin1" >> /etc/vconsole.conf | |
echo "hostname" >> /etc/hostname | |
echo "127.0.0.1 localhost" >> /etc/hosts | |
echo "::1 localhost" >> /etc/hosts | |
echo "127.0.1.1 hostname.localdomain hostname" >> /etc/hosts | |
echo root:password | chpasswd | |
pacman -S grub grub-btrfs efibootmgr networkmanager network-manager-applet base-devel linux-headers inetutils \ | |
dnsutils bluez bluez-utils alsa-utils pipewire pipewire-alsa pipewire-pulse pipewire-jack bash-completion \ | |
openssh acpi acpi_call | |
systemctl enable NetworkManager | |
systemctl enable bluetooth | |
systemctl enable sshd | |
useradd -m user | |
echo user:password | chpasswd | |
echo "user ALL=(ALL) ALL" >> /etc/sudoers.d/user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment