You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
vrein 5a35bb7961 Update 'README.md' 1 year ago
pkg Bump 1 year ago
.gitignore Update 2 years ago
README.md Update 'README.md' 1 year ago

README.md

loadkeys us
timedatectl set-ntp true
parted /dev/vda mklabel msdos mkpart primary ext4 0% 100%
mkfs.ext4 /dev/vda1
mount /dev/vda1 /mnt
pacstrap /mnt $(curl https://gitlab.com/vrein/archconfig-pub/raw/master/pkg/base.lst)
pacstrap /mnt $(curl -X GET "https://gitea.tort.icu/api/v1/repos/vrein/archconfig/contents/pkg%2Fpkg-any-host.lst?access_token=67f5f6bddf65c165d71e32a5fff2d59638c8f10f" -H "accept: application/json" | jq .content -r | base64 -d)

arch-chroot /mnt

sed -i '/Color/s/^#//;/TotalDownload/s/^#//' /etc/pacman.conf
pacman -Syu

passwd root

ln -sf /usr/share/zoneinfo/Europe/Kiev /etc/localtime
cat << EOF > /etc/sudoers.d/vrein
Defaults:vrein env_keep+=SSH_AUTH_SOCK
Defaults:vrein env_keep+=EDITOR
vrein ALL=(ALL) NOPASSWD:ALL
EOF

useradd vrein -m -d /home/vrein -u 1010
passwd vrein

cat << EOF > /etc/vconsole.conf
KEYMAP=ru
FONT=UniCyr_8x16
EOF
cat << EOF >> /etc/locale.gen
en_GB.UTF-8 UTF-8
en_US.UTF-8 UTF-8
ru_RU.UTF-8 UTF-8
uk_UA.UTF-8 UTF-8
EOF

locale-gen

cat << EOF > /etc/locale.conf
LANG=en_US.UTF-8
LC_TIME="en_GB.UTF-8"
EOF
cat << EOF >> /etc/bash.bashrc
alias vim='nvim'
export HISTCONTROL=ignoreboth:erasedups
export HISTTIMEFORMAT='%h %d %H:%M:%S '
export HISTSIZE=10000
export HISTFILESIZE=10000
EOF

grub-install /dev/vda

for running in kvm

vim /etc/mkinitcpio.conf
MODULES=(virtio virtio_blk virtio_pci virtio_net)

mkinitcpio -p linux-zen
grub-mkconfig -o /boot/grub/grub.cfg

netctl enable dh_auto
systemctl enable sshd cronie systemd-networkd systemd-timesyncd polkit