cosmetic changes
This commit is contained in:
parent
e7de8ba7f0
commit
8e0a972560
|
@ -57,6 +57,7 @@ if [[ ! -f "$MIRRORLIST_FILE" && $IS_REFLECTOR_RUNNING == "n" ]]; then
|
|||
--save /etc/pacman.d/mirrorlist >/dev/null 2>&1 &
|
||||
fi
|
||||
|
||||
|
||||
################################################################################
|
||||
# SET THINGS UP FOR INSTALLATION
|
||||
################################################################################
|
||||
|
|
|
@ -62,6 +62,7 @@ sed -i "s/#Color/Color/" /etc/pacman.conf
|
|||
# update pacman db
|
||||
pacman --sync --refresh --refresh --sysupgrade
|
||||
|
||||
|
||||
################################################################################
|
||||
# USER SETUP
|
||||
################################################################################
|
||||
|
@ -128,6 +129,7 @@ sed -i 's/#group = "libvirt-qemu"/group = "pratham"/g' /etc/libvirt/qemu.conf
|
|||
|
||||
sed -i 's@PRUNEPATHS = "@&/heathen_disk/personal/media/camera_roll @g' /etc/updatedb.conf
|
||||
|
||||
|
||||
################################################################################
|
||||
# NVIDIA SETUP
|
||||
################################################################################
|
||||
|
|
|
@ -4,7 +4,10 @@ pushd /home/pratham
|
|||
mkdir my-git-repos
|
||||
pushd my-git-repos
|
||||
|
||||
# dotfiles
|
||||
################################################################################
|
||||
# DOTFILE CLONING
|
||||
################################################################################
|
||||
|
||||
git clone --depth 1 https://git.thefossguy.com/thefossguy/dotfiles.git
|
||||
pushd dotfiles
|
||||
tput -x clear
|
||||
|
@ -18,12 +21,11 @@ popd
|
|||
rm -rf dotfiles
|
||||
popd
|
||||
|
||||
# neovim plugins
|
||||
################################################################################
|
||||
# NEOVIM PLUGINS
|
||||
################################################################################
|
||||
|
||||
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
|
||||
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
nvim +'PlugInstall' +'q' +'q'
|
||||
|
||||
# alacritty
|
||||
sed -i 's@# - ~/.config/alacritty/load_linux.yml@ - ~/.config/alacritty/load_linux.yml@g' /home/pratham/.config/alacritty/alacritty.yml
|
||||
|
||||
popd
|
||||
|
|
|
@ -1,13 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
|
||||
################################################################################
|
||||
# install packages
|
||||
################################################################################
|
||||
|
||||
# update pacman db
|
||||
# force update pacman db
|
||||
pacman --sync --refresh --refresh
|
||||
|
||||
################################################################################
|
||||
# SELECT PACKAGES TO BE INSTALLED
|
||||
################################################################################
|
||||
|
||||
# absolutely necessary for _MY_ experience
|
||||
PKGS_TO_INSTALL=(base bash cron curl dhcpcd dnsutils doas efibootmgr findutils grub iputils ksh less libdrm linux-lts linux-firmware lsb-release lsof man man-db man-pages nano neovim networkmanager openssh openssl os-prober pacman-contrib reflector rsync tmux wireguard-tools zsh zsh-autosuggestions zsh-completions zsh-syntax-highlighting)
|
||||
|
@ -19,7 +18,7 @@ PKGS_TO_INSTALL+=(acpi_call iasl)
|
|||
PKGS_TO_INSTALL+=(firewalld)
|
||||
|
||||
# add-on
|
||||
PKGS_TO_INSTALL+=(bitwarden flatpak ffmpeg light mediainfo)
|
||||
PKGS_TO_INSTALL+=(flatpak ffmpeg light mediainfo)
|
||||
|
||||
# monitoring
|
||||
PKGS_TO_INSTALL+=(btop htop iotop iperf iperf3 nload)
|
||||
|
@ -51,14 +50,10 @@ PKGS_TO_INSTALL+=(base-devel bc cpio gcc git inetutils kmod libelf linux-lts-hea
|
|||
# virtualisation
|
||||
PKGS_TO_INSTALL+=(libvirt qemu-desktop virt-manager dnsmasq)
|
||||
|
||||
|
||||
# network filesystems
|
||||
PKGS_TO_INSTALL+=(avahi cifs-utils nfs-utils)
|
||||
#PKGS_TO_INSTALL+=(gvfs-smb samba smbclient)
|
||||
|
||||
# zfs
|
||||
|
||||
|
||||
# GPU
|
||||
#PKGS_TO_INSTALL+=(mesa qemu-hw-display-virtio-gpu qemu-hw-display-virtio-gpu-gl qemu-hw-display-virtio-gpu-pci qemu-hw-display-virtio-gpu-pci-gl)
|
||||
#PKGS_TO_INSTALL+=(libva-mesa-driver mesa radeontop vulkan-radeon)
|
||||
|
@ -68,14 +63,12 @@ PKGS_TO_INSTALL+=(nvidia-lts nvidia-settings nvidia-utils)
|
|||
# Display Server (Wayland)
|
||||
#PKGS_TO_INSTALL+=(libdrm wayland)
|
||||
|
||||
# Window Manager (Wayland)
|
||||
|
||||
|
||||
# Desktop Environment (X11; because NVIDIA)
|
||||
PKGS_TO_INSTALL+=(xorg-server xorg-xinit xorg-xsetroot xsel bspwm dunst feh i3lock jq picom polybar rofi socat sxhkd wmctrl sddm lxsession)
|
||||
|
||||
# GUI
|
||||
PKGS_TO_INSTALL+=(alacritty firefox meld mpv slurp otf-overpass ksnip noto-fonts-emoji pavucontrol thunar gnome-disk-utility)
|
||||
PKGS_TO_INSTALL+=(alacritty bitwarden firefox meld mpv slurp otf-overpass ksnip noto-fonts-emoji pavucontrol thunar gnome-disk-utility)
|
||||
|
||||
# Sound
|
||||
PKGS_TO_INSTALL+=(pipewire pipewire-pulse pamixer wireplumber)
|
||||
|
@ -89,7 +82,6 @@ PKGS_TO_INSTALL+=(pipewire pipewire-pulse pamixer wireplumber)
|
|||
#PKGS_TO_INSTALL+=(intel-media-driver libva-intel-driver vulkan-intel)
|
||||
#PKGS_TO_INSTALL+=(xf86-video-amdgpu radeontop vulkan-radeon)
|
||||
|
||||
|
||||
# install x86 microcode
|
||||
if [[ "$1" == "amd" ]]; then
|
||||
PKGS_TO_INSTALL+=(amd-ucode)
|
||||
|
|
|
@ -59,6 +59,7 @@ generate_keys "gitlab"
|
|||
generate_keys "sentinel"
|
||||
popd
|
||||
|
||||
|
||||
################################################################################
|
||||
# CUSTOM HOSTNAME FOR git.thefossguy.com
|
||||
################################################################################
|
||||
|
@ -90,7 +91,7 @@ Host git.thefossguy.com
|
|||
EOF
|
||||
cat $HOME/.ssh/gitea.pub
|
||||
echo -e "\n\n\n\nPopulate Hostname (IP addr) for \"git.thefossguy.com\" in ~/.ssh/config"
|
||||
bash -t
|
||||
nvim ~/.ssh/config
|
||||
fi
|
||||
|
||||
|
||||
|
@ -123,13 +124,8 @@ rustup component add rust-analysis
|
|||
cargo install cargo-outdated cargo-tree
|
||||
|
||||
|
||||
# neovim (vim-plug)
|
||||
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
|
||||
|
||||
# get dotfiles
|
||||
echo -ne "\n\n\n\n"
|
||||
|
||||
mkdir -p $HOME/my-git-repos
|
||||
git_repo_check "dotfiles"
|
||||
git_repo_check "dotfiles-priv"
|
||||
|
@ -153,7 +149,7 @@ flatpak install --user flathub com.brave.Browser com.discordapp.Discord com.gith
|
|||
|
||||
|
||||
################################################################################
|
||||
# AUR-RELATED/ZFS
|
||||
# AUR/PARU
|
||||
################################################################################
|
||||
|
||||
# do I have paru?
|
||||
|
@ -196,9 +192,6 @@ pacman -Qm | grep "zfs-dkms" > /dev/null || paru -S zfs-dkms
|
|||
|
||||
tput -x clear
|
||||
echo -e "\n\nThe setup appears to have completed (as far as I can tell). Please scroll up and verify yourself too!"
|
||||
echo -e "Below are a few items I can not script myself:\n"
|
||||
echo "=> please run the \`:PlugInstall\` command in nvim (aliased to vim now)"
|
||||
echo "=> please uncomment the line in \`~/.config/alacritty/alacritty.yml\` that says $(tput bold)- ~/.config/alacritty/load_linux.yml$(tput sgr0)"
|
||||
if ! command -v zpool > /dev/null; then
|
||||
lsmod | grep zfs
|
||||
if [[ $? -ne 0 ]]; then
|
||||
|
|
Loading…
Reference in New Issue