Compare commits
2 commits
098278ea8e
...
c14f6e6404
Author | SHA1 | Date | |
---|---|---|---|
c14f6e6404 | |||
75eb1f13c9 |
3 changed files with 64 additions and 2 deletions
22
new_packages.list
Normal file
22
new_packages.list
Normal file
|
@ -0,0 +1,22 @@
|
||||||
|
base 3-2
|
||||||
|
base-devel 1-1
|
||||||
|
cinnamon 6.0.4-1
|
||||||
|
git 2.43.2-1
|
||||||
|
gnome-terminal 3.50.1-1
|
||||||
|
grub 2:2.12-1
|
||||||
|
gst-plugin-pipewire 1:1.0.3-1
|
||||||
|
libpulse 17.0-3
|
||||||
|
lightdm-gtk-greeter 1:2.0.8-3
|
||||||
|
limine 7.0.5-2
|
||||||
|
linux 6.7.5.arch1-1
|
||||||
|
linux-firmware 20240115.9b6d0b08-2
|
||||||
|
paru-bin 2.0.1-1
|
||||||
|
paru-bin-debug 2.0.1-1
|
||||||
|
pipewire 1:1.0.3-1
|
||||||
|
pipewire-alsa 1:1.0.3-1
|
||||||
|
pipewire-jack 1:1.0.3-1
|
||||||
|
pipewire-pulse 1:1.0.3-1
|
||||||
|
tealdeer 1.6.1-1
|
||||||
|
virtualbox-guest-utils 7.0.14-2
|
||||||
|
wireplumber 0.4.17-1
|
||||||
|
zram-generator 1.1.2-1
|
|
@ -13,5 +13,5 @@ loadkeys fr
|
||||||
echo "[.zlogin] ____ starting post install ____"
|
echo "[.zlogin] ____ starting post install ____"
|
||||||
sh post_install.sh
|
sh post_install.sh
|
||||||
echo "[.zlogin] ____ finished post install ____"
|
echo "[.zlogin] ____ finished post install ____"
|
||||||
shutdown now
|
# shutdown now
|
||||||
)
|
)
|
||||||
|
|
|
@ -6,6 +6,10 @@ alias log='echo [post_install.sh]'
|
||||||
ROOT=/mnt/archinstall
|
ROOT=/mnt/archinstall
|
||||||
|
|
||||||
|
|
||||||
|
log "clearing caches"
|
||||||
|
rm -fr "$ROOT/var/cache/"
|
||||||
|
|
||||||
|
|
||||||
log "altering linux confs"
|
log "altering linux confs"
|
||||||
cp content/sudoers "$ROOT/etc/sudoers"
|
cp content/sudoers "$ROOT/etc/sudoers"
|
||||||
cp content/pacman.conf "$ROOT/etc/pacman.conf"
|
cp content/pacman.conf "$ROOT/etc/pacman.conf"
|
||||||
|
@ -16,6 +20,7 @@ log "configuring network"
|
||||||
cp content/wired.network "$ROOT/etc/systemd/network/20-wired.network"
|
cp content/wired.network "$ROOT/etc/systemd/network/20-wired.network"
|
||||||
echo "
|
echo "
|
||||||
sudo systemctl enable systemd-networkd.service
|
sudo systemctl enable systemd-networkd.service
|
||||||
|
sudo systemctl enable systemd-resolved.service
|
||||||
" | arch-chroot "$ROOT" su user
|
" | arch-chroot "$ROOT" su user
|
||||||
|
|
||||||
|
|
||||||
|
@ -31,5 +36,40 @@ log "installing paru"
|
||||||
|
|
||||||
log "installing extra packages"
|
log "installing extra packages"
|
||||||
echo "
|
echo "
|
||||||
paru -S --no-confirm tealdeer
|
paru -Sy --noconfirm tealdeer nnn-nerd ttf-ms-fonts discord visual-studio-code-bin
|
||||||
" | arch-chroot "$ROOT" su user
|
" | arch-chroot "$ROOT" su user
|
||||||
|
|
||||||
|
|
||||||
|
log "configuring extra packages"
|
||||||
|
echo '
|
||||||
|
sudo systemctl enable lightdm.service
|
||||||
|
opam init --yes
|
||||||
|
' | arch-chroot "$ROOT" su user
|
||||||
|
|
||||||
|
|
||||||
|
log "configuring home"
|
||||||
|
echo '
|
||||||
|
cd
|
||||||
|
sudo chsh --shell=/bin/zsh user
|
||||||
|
true | sh -c "$(wget https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh -O -)"
|
||||||
|
' | arch-chroot "$ROOT" su user
|
||||||
|
|
||||||
|
|
||||||
|
cp -r content/home/* content/home/.* "$ROOT/home/user/"
|
||||||
|
echo '
|
||||||
|
cd
|
||||||
|
sudo chown -R user:user .
|
||||||
|
' | arch-chroot "$ROOT" su user
|
||||||
|
echo '
|
||||||
|
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
|
||||||
|
git clone https://github.com/zsh-users/zsh-completions ${ZSH_CUSTOM:-${ZSH:-~/.oh-my-zsh}/custom}/plugins/zsh-completions
|
||||||
|
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
|
||||||
|
' | arch-chroot -u user "$ROOT" zsh
|
||||||
|
|
||||||
|
|
||||||
|
echo '
|
||||||
|
for ext in eamodio.gitlens Equinusocio.vsc-community-material-theme Equinusocio.vsc-material-theme equinusocio.vsc-material-theme-icons ms-dotnettools.csharp ms-python.isort ms-python.python ms-python.vscode-pylance ms-vscode.cpptools ocamllabs.ocaml-platform rust-lang.rust-analyzer usernamehw.errorlens VisualStudioExptTeam.intellicode-api-usage-examples VisualStudioExptTeam.vscodeintellicode
|
||||||
|
do code --install-extension $ext
|
||||||
|
done
|
||||||
|
|
||||||
|
' | arch-chroot "$ROOT" su user
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue