Added fstab and hosts file as well as some install.sh changes based on recent tests

master
Wynd 2024-10-17 22:10:20 +03:00
parent 83e601cf58
commit 913a728705
3 changed files with 43 additions and 10 deletions

14
extras/fstab 100644
View File

@ -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

11
extras/hosts 100644
View File

@ -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

View File

@ -125,10 +125,10 @@ sudo apt update -yqq
export PATH=$PATH:/home/$USER/.local/bin
# 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 \
ffmpeg libavcodec58 libavcodec-extra ubuntu-restricted-extras \
gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte \
ffmpeg libavcodec-extra ubuntu-restricted-extras \
gnome-shell-extensions gnome-tweak-tool gnome-menus gnome-user-share dconf-editor gparted alacarte tmux \
nemo nemo-fileroller nemo-gtkhash \
pavucontrol gimp inkscape flameshot \
steam ckb-next lutris discord wine-devel winetricks \
@ -234,12 +234,20 @@ java_install 21
# Set Nemo as default
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)
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
./dot.py --deploy
fi