update profile to cinnamon

This commit is contained in:
JOLIMAITRE Matthieu 2024-02-20 04:52:11 +01:00
parent 62fb159cac
commit 098278ea8e
7 changed files with 488 additions and 17 deletions

View file

@ -7,10 +7,16 @@ ROOT=/mnt/archinstall
log "altering linux confs"
sed -i 's|# %wheel ALL=(ALL:ALL) NOPASSWD: ALL|%wheel ALL=(ALL:ALL) NOPASSWD: ALL|g' "$ROOT/etc/sudoers"
sed -i 's|@includedir /etc/sudoers.d|# @includedir /etc/sudoers.d|g' "$ROOT/etc/sudoers"
sed -i 's|#ParallelDownloads = 5|ParallelDownloads = 5|g' "$ROOT/etc/pacman.conf"
sed -i 's|SigLevel = Required DatabaseOptional|SigLevel = Never|g' "$ROOT/etc/pacman.conf"
cp content/sudoers "$ROOT/etc/sudoers"
cp content/pacman.conf "$ROOT/etc/pacman.conf"
log "configuring network"
mkdir -p "$ROOT/etc/systemd/network"
cp content/wired.network "$ROOT/etc/systemd/network/20-wired.network"
echo "
sudo systemctl enable systemd-networkd.service
" | arch-chroot "$ROOT" su user
log "installing paru"
@ -20,3 +26,10 @@ log "installing paru"
cd paru-bin
makepkg -si
" | arch-chroot "$ROOT" su user
cp content/paru.conf "$ROOT/etc/paru.conf"
log "installing extra packages"
echo "
paru -S --no-confirm tealdeer
" | arch-chroot "$ROOT" su user