diff --git a/new_packages.list b/new_packages.list new file mode 100644 index 0000000..d38ff18 --- /dev/null +++ b/new_packages.list @@ -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 diff --git a/profile/airootfs/root/.zlogin b/profile/airootfs/root/.zlogin index 2fbd798..1b0cb2a 100644 --- a/profile/airootfs/root/.zlogin +++ b/profile/airootfs/root/.zlogin @@ -13,5 +13,5 @@ loadkeys fr echo "[.zlogin] ____ starting post install ____" sh post_install.sh echo "[.zlogin] ____ finished post install ____" - shutdown now + # shutdown now ) diff --git a/profile/airootfs/root/post_install.sh b/profile/airootfs/root/post_install.sh index 98bd185..26854cb 100644 --- a/profile/airootfs/root/post_install.sh +++ b/profile/airootfs/root/post_install.sh @@ -6,6 +6,10 @@ alias log='echo [post_install.sh]' ROOT=/mnt/archinstall +log "clearing caches" + rm -fr "$ROOT/var/cache/" + + log "altering linux confs" cp content/sudoers "$ROOT/etc/sudoers" 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" echo " sudo systemctl enable systemd-networkd.service + sudo systemctl enable systemd-resolved.service " | arch-chroot "$ROOT" su user @@ -31,5 +36,40 @@ log "installing paru" log "installing extra packages" 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 + + +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