Added fstab and hosts file as well as some install.sh changes based on recent tests
parent
83e601cf58
commit
913a728705
|
@ -0,0 +1,14 @@
|
||||||
|
# /etc/fstab: static file system information.
|
||||||
|
#
|
||||||
|
# Use 'blkid' to print the universally unique identifier for a
|
||||||
|
# device; this may be used with UUID= as a more robust way to name devices
|
||||||
|
# that works even if disks are added and removed. See fstab(5).
|
||||||
|
#
|
||||||
|
# <file system> <mount point> <type> <options> <dump> <pass>
|
||||||
|
PARTUUID=3b3a2bab-4c73-44cd-bef0-8af9f514a05f /boot/efi vfat umask=0077 0 0
|
||||||
|
PARTUUID=56d1885f-62ef-4c82-a757-aedf19b07467 /recovery vfat umask=0077 0 0
|
||||||
|
UUID=229f22a0-7558-4cdf-b157-416e5087c9dd / ext4 noatime,errors=remount-ro 0 1
|
||||||
|
/dev/mapper/cryptswap none swap defaults 0 0
|
||||||
|
UUID=5592f1fa-db64-40c1-971d-33fd82a3bbff /home ext4 defaults 0 0
|
||||||
|
UUID=2c4591a6-ab17-47f2-93fb-c8ad3313c7bb /games ext4 defaults 0 0
|
||||||
|
UUID=aa92b502-56dc-4694-a914-a9b87848bff5 /library ext4 defaults 0 0
|
|
@ -0,0 +1,11 @@
|
||||||
|
# See `man hosts` for details.
|
||||||
|
#
|
||||||
|
# By default, systemd-resolved or libnss-myhostname will resolve
|
||||||
|
# localhost and the system hostname if they're not specified here.
|
||||||
|
127.0.0.1 localhost
|
||||||
|
::1 localhost
|
||||||
|
|
||||||
|
127.0.0.1 jellyfin.wynd.local
|
||||||
|
127.0.0.1 food.wynd.local
|
||||||
|
127.0.0.1 firefly.wynd.local
|
||||||
|
127.0.0.1 vault.wynd.local
|
28
install.sh
28
install.sh
|
@ -7,7 +7,7 @@ deb_install() {
|
||||||
path=~/Downloads/$1
|
path=~/Downloads/$1
|
||||||
url=$2
|
url=$2
|
||||||
download_file $file $url \
|
download_file $file $url \
|
||||||
&& __install_deb
|
&& __install_deb
|
||||||
}
|
}
|
||||||
|
|
||||||
deb_git_install() {
|
deb_git_install() {
|
||||||
|
@ -125,10 +125,10 @@ sudo apt update -yqq
|
||||||
export PATH=$PATH:/home/$USER/.local/bin
|
export PATH=$PATH:/home/$USER/.local/bin
|
||||||
|
|
||||||
# Core
|
# Core
|
||||||
packages="make coreutils git apt-transport-https ca-certificates curl wget gnupg lsb-release coreutils sed build-essential \
|
packages="make cmake coreutils git apt-transport-https ca-certificates curl wget gnupg lsb-release coreutils sed build-essential \
|
||||||
firefox git python3-pip zsh mpv figlet lolcat sqlitebrowser flatpak nala \
|
firefox git python3-pip zsh mpv figlet lolcat sqlitebrowser flatpak nala \
|
||||||
ffmpeg libavcodec58 libavcodec-extra ubuntu-restricted-extras \
|
ffmpeg libavcodec-extra ubuntu-restricted-extras \
|
||||||
gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte \
|
gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte tmux \
|
||||||
nemo nemo-fileroller nemo-gtkhash \
|
nemo nemo-fileroller nemo-gtkhash \
|
||||||
pavucontrol gimp inkscape flameshot \
|
pavucontrol gimp inkscape flameshot \
|
||||||
steam ckb-next lutris discord wine-devel winetricks \
|
steam ckb-next lutris discord wine-devel winetricks \
|
||||||
|
@ -168,7 +168,7 @@ for pkg in $packages; do
|
||||||
done
|
done
|
||||||
|
|
||||||
# Cargo
|
# Cargo
|
||||||
# Note, cargo doesn't have the above issue, if a package is not found, it just skips it
|
# Note, cargo doesn't have the above issue, if a package is not found, it just skips it
|
||||||
# and tells you a package failed to install, yet another reason why rust is superior
|
# and tells you a package failed to install, yet another reason why rust is superior
|
||||||
curl https://sh.rustup.rs -sSf | sh
|
curl https://sh.rustup.rs -sSf | sh
|
||||||
cargo install -q onefetch eza fd-find tokei alacritty stylua git-delta du-dust \
|
cargo install -q onefetch eza fd-find tokei alacritty stylua git-delta du-dust \
|
||||||
|
@ -185,13 +185,13 @@ deb_git_install fastfetch.deb "fastfetch-cli/fastfetch" "fastfetch-linux-amd64.d
|
||||||
|
|
||||||
# TAR Installs
|
# TAR Installs
|
||||||
# Zig's case is special mostly because they don't have the 0.13 builds on github so no tar_git_install for that sadly
|
# Zig's case is special mostly because they don't have the 0.13 builds on github so no tar_git_install for that sadly
|
||||||
tar_install "zig" "zig.tar.xz" "https://ziglang.org/builds/zig-linux-x86_64-0.13.0-dev.340+d750a78b2.tar.xz"
|
tar_install "zig" "zig.tar.xz" "https://ziglang.org/builds/zig-linux-x86_64-0.13.0-dev.340+d750a78b2.tar.xz"
|
||||||
tar_install "nvim" "nvim.tar.xz" "https://github.com/neovim/neovim/releases/download/v0.10.0/nvim-linux64.tar.gz" 1 "true"
|
tar_install "nvim" "nvim.tar.xz" "https://github.com/neovim/neovim/releases/download/v0.10.0/nvim-linux64.tar.gz" 1 "true"
|
||||||
tar_git_install "btop" "btop.tbz" "aristocratos/btop" "btop-x86_64-linux-musl.tbz" 2
|
tar_git_install "btop" "btop.tbz" "aristocratos/btop" "btop-x86_64-linux-musl.tbz" 2
|
||||||
|
|
||||||
# asdf
|
# asdf
|
||||||
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
|
git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.14.0
|
||||||
. ~/.asdf/asdf.sh
|
. ~/.asdf/asdf.sh
|
||||||
asdf_plugin nodejs
|
asdf_plugin nodejs
|
||||||
asdf_plugin lua-language-server
|
asdf_plugin lua-language-server
|
||||||
|
|
||||||
|
@ -228,18 +228,26 @@ wget -O ~/Downloads/getdocker.sh "https://get.docker.com" \
|
||||||
|
|
||||||
# Java
|
# Java
|
||||||
sudo mkdir -p /usr/lib/jvm
|
sudo mkdir -p /usr/lib/jvm
|
||||||
java_install 8
|
java_install 8
|
||||||
java_install 17
|
java_install 17
|
||||||
java_install 21
|
java_install 21
|
||||||
|
|
||||||
# Set Nemo as default
|
# Set Nemo as default
|
||||||
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
|
xdg-mime default nemo.desktop inode/directory application/x-gnome-saved-search
|
||||||
gsettings set org.gnome.desktop.default-applications.terminal exec terminator
|
|
||||||
gsettings set org.cinnamon.desktop.default-applications.terminal exec terminator
|
|
||||||
|
|
||||||
# Disable automated sleep (only for desktop and plugged in laptops)
|
# Disable automated sleep (only for desktop and plugged in laptops)
|
||||||
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
|
gsettings set org.gnome.settings-daemon.plugins.power sleep-inactive-ac-type 'nothing'
|
||||||
|
|
||||||
|
# Some interface settings
|
||||||
|
gsettings set org.gnome.desktop.interface clock-format '24h'
|
||||||
|
gsettings set org.gnome.desktop.interface clock-show-seconds 'true'
|
||||||
|
gsettings set org.gnome.desktop.interface clock-show-weekday 'true'
|
||||||
|
|
||||||
|
wget -O ~/Downloads/openrgb.sh https://openrgb.org/releases/release_0.9/openrgb-udev-install.sh \
|
||||||
|
&& sudo u+x ~/Downloads/openrgb.sh \
|
||||||
|
&& ~/Downloads/openrgb.sh \
|
||||||
|
&& rm ~/Downloads/openrgb.sh
|
||||||
|
|
||||||
if [ -e "./dot.py" ]; then
|
if [ -e "./dot.py" ]; then
|
||||||
./dot.py --deploy
|
./dot.py --deploy
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue