loadkeys essystemctl enable iwdiwctl
station wlan0 scan
station wlan0 get-networks
station wlan0 connect SSIDtimedatectl set-ntp true
timedatectl set-timezone Europe/Madridcfdisk /dev/sda
# Partición nueva y se le pone como tipo swap; tanto como gigas de RAM tenga el equipo
# Partición nueva
mkswap /dev/sda5
mkfs.ext4 /dev/sda6
mount /dev/sda6 /mnt
swapon /dev/sda5pacman -Syy
pacman -S reflector
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
reflector --latest 20 --sort rate --download-timeout 60 --save /etc/pacman.d/mirrorlistpacstrap /mnt base linux linux-firmware iwd dhcpcd man-db nano networkmanager ifplugd mkinitcpio reflector rsyncmkdir /mnt/boot/EFI
mount /dev/sda1 /mnt/boot/EFIgenfstab -U /mnt >> /mnt/etc/fstabIf mounted before generating the fstab entry, an entry for mounted Windows would be added and will cause an error at boot since Windows is never mounted by default. (Hope that makes sense)
mkdir /mnt/mnt/windows
mount /dev/sda3 /mnt/mnt/windowsarch-chroot /mntln -sf /usr/share/zoneinfo/Region/City /etc/localtime
hwclock --systohcsed -i 's/#en_US.UTF-8/es_ES.UTF-8/g' /etc/locale.gen
locale-gen
export LANG=es_ES.UTF-8
echo "LANG=es_ES.UTF-8" > /etc/locale.conf
echo "KEYMAP=es" > /etc/vconsole.confecho "nonuser" > /etc/hostnameecho "127.0.0.1 localhost
::1 localhost" > /etc/hostsmkinitcpio -Ppasswdpacman -Syy
pacman -S reflector
cp /etc/pacman.d/mirrorlist /etc/pacman.d/mirrorlist.bak
reflector --latest 20 --sort rate --download-timeout 60 --save /etc/pacman.d/mirrorlistpacman -Sy grub efibootmgr os-proberAdd this line to /etc/default/grub:
GRUB_DISABLE_OS_PROBER=falseAdd new microcode:
pacman -S intel-ucodegrub-install --target=x86_64-efi --bootloader-id=GRUB --recheckgrub-mkconfig -o /boot/grub/grub.cfgexitreboottimedatectl set-ntp true
timedatectl set-timezone Europe/Madrid
ln -sf /usr/share/zoneinfo/Europe/Madrid /etc/localtime
hwclock -w- Crear nuevo usuario:
useradd -m -s /usr/bin/zsh n0nuser passwd n0nuser.- Crear grupo
sudocongroupadd sudo. - Agregar al usuario nuevo al grupo
sudo:usermod -aG sudo n0nuser. - Meter en
/etc/doas.conf:permit nopass :sudo.
Add in /etc/resolv.conf:
nameserver 192.168.1.1
nameserver 1.1.1.1
nameserver 1.0.0.1
nameserver 8.8.8.8systemctl enable systemd-resolved
systemctl start systemd-resolved
systemctl enable iwd
systemctl start iwd
systemctl enable dhcpcd
systemctl start dhcpcd
systemctl enable ntpdConfigure WiFi again with iwctl.
pacman --needed -S zsh xf86-video-intel mesa xorg xorg-server xorg-xinit xclip lightdm lightdm-gtk-greeter neofetch alacritty firefox acpi cmatrix discord wget git cmake vim blueman bluez bluez-utils alsa-utils mlocate ntp retroarch retroarch-assets-xmb retroarch-assets-ozone htop hugo rsync transmission-gtk ntfs-3g brightnessctl unzip python3 python-pipUncomment "sudo" in /etc/sudoers file.
pacman -S make fakeroot sudo binutils gcc
git clone https://aur.archlinux.org/yay.git && cd yay
makepkg -sircyay -S visual-studio-code-bin# Updates location of files for: locate
updatedbCambiar en /etc/systemd/logind.conf el #HandlePowerKey=poweroff por HandlePowerKey=suspend.
pacman --needed -S i3-gaps rofi feh mpv mpd thunar scrot dunst volumeicon jq calc ttf-fira-sans lightdm-webkit2-greeter accountsservice light-locker neofetch playerctl perl-anyevent-i3
yay -S picom-ibhagwan-git polybar cli-visualizer spotify ttf-all-the-icons ttf-d2coding plymouth
systemctl enable mpdDisable all of the apps in /etc/X11/xinit/xinitrc and add exec i3
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Edit /etc/X11/xorg.conf.d/00-keyboard.conf and add:
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "es,es"
Option "XkbModel" "pc105
EndSection
Edit /etc/X11/xorg.conf.d/30-touchpad.conf and add:
Section "InputClass"
Identifier "devname"
Driver "libinput"
Option "Tapping" "on"
Option "NaturalScrolling" "true"
EndSection
doas git clone https://github.com/AlphaNecron/lightdm-gab-nord.git
mv lightdm-gab-nord /usr/share/lightdm-webkit/themessystemctl enable lightdmgit clone https://github.com/vinceliuice/grub2-themes.git
doas grub2-themes/install.sh -b -t slaze
rm -rf grub2-themes