fix scripts

This commit is contained in:
Night Kaly 2024-03-25 11:48:49 +00:00
parent 57eb58da02
commit aed5289093
No known key found for this signature in database
GPG key ID: 8E829D3381CFEBBE
2 changed files with 2 additions and 7 deletions

View file

@ -117,11 +117,6 @@ sudo sed -i "s/\"\$dmenu\"/\"\$dmenu\" -i -p 'Password' -f 'MonaspiceKr Nerd Fon
cleansystem
sudo find /usr/share/fonts/adobe-source-han-sans -type f ! -name "SourceHanSansHK-Normal.otf" -delete
echo -e 'root ALL=(ALL:ALL) ALL
n ALL=(ALL:ALL) ALL
%wheel ALL=(ALL:ALL) NOPASSWD: ALL
@includedir /etc/sudoers.d' | sudo tee -a /etc/sudoers
cd ~
mkdir fonts
curl -L -O https://github.com/ryanoasis/nerd-fonts/releases/download/v3.1.1/JetBrainsMono.zip

View file

@ -50,14 +50,14 @@ arch-chroot /mnt /bin/bash -- << EOCHROOT
useradd -m -G wheel,audio,storage,power -s /bin/bash night
printf "$nightpasswd\n$nightpasswd" | passwd night
printf "$rootpasswd\n$rootpasswd" | passwd root
sed -i "s/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/%wheel ALL=(ALL:ALL) NOPASSWD: ALL\nDefaults timestamp_timeout=600/" /etc/sudoers
sed -i "s/# %wheel ALL=(ALL:ALL) NOPASSWD: ALL/%wheel ALL=(ALL:ALL) NOPASSWD: ALL/" /etc/sudoers
sed -i -e 's/#en_US.UTF-8 UTF-8/en_US.UTF-8 UTF-8/' /etc/locale.gen
locale-gen
echo LANG=en_US.UTF-8 > /etc/locale.conf
export LANG=en_US.UTF-8
echo $hostname > /etc/hostname
ln -sf /usr/share/zoneinfo/Europe/London /etc/localtime
hwclock w
hwclock -w
sed -i "s/^#ParallelDownloads = 5$/ParallelDownloads = 15/" /etc/pacman.conf
EOCHROOT
cp -r dotfiles/ /mnt/