Further updates.
This commit is contained in:
parent
c0d6ee5750
commit
136c01deef
|
@ -64,7 +64,7 @@ Generally follow the configure the system steps in the
|
||||||
- Run `grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB`
|
- Run `grub-install --target=x86_64-efi --efi-directory=/boot --bootloader-id=GRUB`
|
||||||
- Update `/etc/default/grub` to have the line:
|
- Update `/etc/default/grub` to have the line:
|
||||||
`GRUB_CMDLINE_LINUX="cryptdevice=UUID=device-UUID:root root=/dev/mapper/root"`
|
`GRUB_CMDLINE_LINUX="cryptdevice=UUID=device-UUID:root root=/dev/mapper/root"`
|
||||||
(Get the UUID using blkid /dev/sda2).
|
(Get the UUID using `blkid -s UUID -o value /dev/sda2`, can be inserted into vim using `:r!CMD`).
|
||||||
- Run `grub-mkconfig -o /boot/grub/grub.cfg`
|
- Run `grub-mkconfig -o /boot/grub/grub.cfg`
|
||||||
|
|
||||||
- Reboot sucessfully(?) into the new system.
|
- Reboot sucessfully(?) into the new system.
|
||||||
|
@ -99,7 +99,6 @@ DNSOverTLS=yes
|
||||||
|
|
||||||
`systemctl enable systemd-resolved`
|
`systemctl enable systemd-resolved`
|
||||||
|
|
||||||
|
|
||||||
## Create a swapfile (optional)
|
## Create a swapfile (optional)
|
||||||
|
|
||||||
https://wiki.archlinux.org/title/swap#Swap_file
|
https://wiki.archlinux.org/title/swap#Swap_file
|
||||||
|
@ -117,6 +116,7 @@ Reboot and login as the new user.
|
||||||
|
|
||||||
Clone this git repo at /home/drew/install.
|
Clone this git repo at /home/drew/install.
|
||||||
|
|
||||||
|
- `sudo ./install_packages.sh`
|
||||||
- Run `sudo ./install_desktop.sh`
|
- Run `sudo ./install_desktop.sh`
|
||||||
- Run `./install_usr.sh`
|
- Run `./install_usr.sh`
|
||||||
|
|
||||||
|
@ -126,15 +126,12 @@ https://wiki.archlinux.org/title/Backlight#ACPI
|
||||||
# Part 4 - Applications
|
# Part 4 - Applications
|
||||||
|
|
||||||
`mkdir Documents/ Downloads/ Pictures/`
|
`mkdir Documents/ Downloads/ Pictures/`
|
||||||
`sudo pacman -S firefox`
|
|
||||||
|
|
||||||
Log into firefox w/ sync (installs bitwarden.)
|
Log into firefox w/ sync (installs bitwarden.)
|
||||||
Set firefox to search with kagi.
|
Set firefox to search with kagi.
|
||||||
|
|
||||||
# Part 5 - Dev environment
|
# Part 5 - Dev environment
|
||||||
|
|
||||||
`sudo pacman -S bind openssh cmake ninja neovim lua-language-server ccls rust rust-analyzer jedi-language-server`
|
|
||||||
|
|
||||||
Run `nvim -u nvim-bootstrap.lua` to install plugins as nvim won't start up until they are.
|
Run `nvim -u nvim-bootstrap.lua` to install plugins as nvim won't start up until they are.
|
||||||
|
|
||||||
Add ssh keys to gitea and gitlab.
|
Add ssh keys to gitea and gitlab.
|
||||||
|
|
|
@ -6,17 +6,6 @@ if [[ $EUID -ne 0 ]]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
echo "Installing packages."
|
|
||||||
# Base Packages.
|
|
||||||
# Go is a dependency of yay
|
|
||||||
pacman --noconfirm -S which base-devel go wireguard-tools
|
|
||||||
|
|
||||||
# Display Elements.
|
|
||||||
pacman --noconfirm -S plymouth sddm wayland sway swaybg swaylock swayidle wofi waybar wev gammastep
|
|
||||||
|
|
||||||
# Theming.
|
|
||||||
pacman --noconfirm -S ttf-liberation sddm kitty zsh adobe-source-code-pro-fonts ttf-sourcecodepro-nerd ttf-dejavu arc-gtk-theme papirus-icon-theme
|
|
||||||
|
|
||||||
echo "Installing plymouth"
|
echo "Installing plymouth"
|
||||||
# This is likely a bit too brittle.
|
# This is likely a bit too brittle.
|
||||||
sed -i 's/kms keyboard/kms plymouth keyboard/' /etc/mkinitcpio.conf
|
sed -i 's/kms keyboard/kms plymouth keyboard/' /etc/mkinitcpio.conf
|
||||||
|
@ -33,6 +22,5 @@ echo "Giving Sway hardware access."
|
||||||
usermod -aG seat drew
|
usermod -aG seat drew
|
||||||
systemctl enable seatd.service
|
systemctl enable seatd.service
|
||||||
|
|
||||||
pacman --noconfirm -S pulseaudio pavucontrol network-manager-applet flameshot bluez bluez-utils blueman pulseaudio-bluetooth
|
|
||||||
systemctl enable bluetooth
|
systemctl enable bluetooth
|
||||||
|
|
||||||
|
|
|
@ -0,0 +1,29 @@
|
||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
# Script to install all packages necessary for the system while documenting their uses.
|
||||||
|
set -e
|
||||||
|
|
||||||
|
if [[ $EUID -ne 0 ]]; then
|
||||||
|
echo "Must run as root."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
|
|
||||||
|
DISPLAY="plymouth sddm wayland sway swaybg swaylock swayidle wofi waybar wev gammastep"
|
||||||
|
|
||||||
|
TERMINAL="zsh kitty"
|
||||||
|
|
||||||
|
FONTS_THEMES="ttf-liberation adobe-source-code-pro-fonts ttf-sourcecodepro-nerd ttf-dejavu arc-gtk-theme papirus-icon-theme"
|
||||||
|
|
||||||
|
MEDIA="pulseaudio pavucontrol network-manager-applet flameshot bluez bluez-utils blueman pulseaudio-bluetooth"
|
||||||
|
|
||||||
|
# bind contains dig
|
||||||
|
DEV_TOOLS="openssh rust python-virtualenv bind base-devel go which rsync gdb"
|
||||||
|
|
||||||
|
OSDEV_TOOLS="limine dosfstools parted cmake ninja qemu-desktop qemu-system-x86"
|
||||||
|
|
||||||
|
NVIM_DEV="neovim lua-language-server ccls rust-analyzer jedi-language-server ripgrep"
|
||||||
|
|
||||||
|
PROGRAMS="firefox"
|
||||||
|
|
||||||
|
pacman -S $DISPLAY $TERMINAL $FONTS_THEMES $MEDIA $DEV_TOOLS $OSDEV_TOOLS $NVIM_DEV $PROGRAMS
|
Loading…
Reference in New Issue