diff --git a/install-stuff/install-misc.sh b/install-stuff/install-misc.sh index 356a2a0..45d8059 100755 --- a/install-stuff/install-misc.sh +++ b/install-stuff/install-misc.sh @@ -1,4 +1,6 @@ #!/usr/bin/env bash +set -e + if [ $(whoami) == "root" ]; then echo "Run as a normal user, not root" exit 1 @@ -12,11 +14,9 @@ if command_exists "apt-get"; then sudo apt-get install kitty -y echo "Please install SchildiChat, nvim/neovim" elif command_exists "dnf"; then - sudo dnf install kitty neovim gcc gnome-hexgl drawing make vlc freeglut ncdu gcolor3 rustup clippy p7zip mosh krita podman podman-docker podman-compose gajim progress yt-dlp genisoimage zstd iperf3 keepassxc python3-pip ffmpegthumbnailer linuxconsoletools bind-utils hyfetch fastfetch nmap unrar-free restic gparted bsdtar android-tools httpd-tools digikam edid-decode hexchat htop minetest fuse-sshfs syncthing nasm sysstat -y + sudo dnf install kitty neovim gcc gnome-hexgl drawing make vlc freeglut ncdu gcolor3 rustup clippy p7zip mosh krita podman podman-docker podman-compose gajim progress yt-dlp genisoimage zstd iperf3 keepassxc python3-pip ffmpegthumbnailer linuxconsoletools bind-utils hyfetch fastfetch nmap unrar-free restic gparted bsdtar android-tools httpd-tools digikam edid-decode hexchat htop -y sudo dnf install ffmpeg --allowerasing - sudo systemctl enable --now syncthing@askiiart - sudo dnf copr enable wezfurlong/wezterm-nightly sudo dnf install wezterm @@ -24,14 +24,9 @@ elif command_exists "dnf"; then # should be in my repo, but this works as both a fallback, and is faster than downloading from my repo - updates will come from my repo, though sudo dnf install $(curl -s https://api.github.com/repos/SchildiChat/schildichat-desktop/releases/latest | grep "browser_download_url.*schildichat-desktop-.*.x86_64.rpm" | cut -d : -f 2,3 | tr -d \" | tr -d ' ') - # Install FjordLauncherUnlocked - mkdir ~/Applications - cd ~/Applications - curl -LO $(curl -s https://api.github.com/repos/hero-persson/FjordLauncherUnlocked/releases/latest | grep "browser_download_url.*FjordLauncher-.*.AppImage" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -C - - - # Install DwarFS - sudo dnf copr enable jc141/DwarFS - sudo dnf install dwarfs + # Install Prism Launcher + sudo dnf copr enable g3tchoo/prismlauncher + sudo dnf install prismlauncher-qt5 elif command_exists "rpm-ostree"; then rpm-ostree install kitty neovim gcc gnome-hexgl drawing make vlc freeglut ncdu gcolor3 rustup clippy p7zip mosh krita podman podman-docker podman-compose gajim progress yt-dlp genisoimage zstd iperf3 -y --allow-inactive diff --git a/install-stuff/install-rust.sh b/install-stuff/install-rust.sh index 0b80c0d..924569f 100755 --- a/install-stuff/install-rust.sh +++ b/install-stuff/install-rust.sh @@ -9,8 +9,6 @@ command_exists() { type "$1" &>/dev/null; } if command_exists "yum"; then sudo dnf install rustup -y fish -c "rustup-init" - - fish -c "cargo install cavif" elif command_exists "rpm-ostree"; then sudo wget https://askiiart.net/repos/fedora/x86_64/askiiart.repo -O /etc/yum.repos.d/askiiart.repo rpm-ostree install rustup -y diff --git a/install-stuff/install-steam.bash b/install-stuff/install-steam.bash index ce5a07a..6ae18b5 100755 --- a/install-stuff/install-steam.bash +++ b/install-stuff/install-steam.bash @@ -13,7 +13,7 @@ if command_exists "apt-get"; then sudo dpkg -i steam.deb elif command_exists "dnf"; then sudo dnf install steam -y - sudo dnf install appimagelauncher qt5-qtbase-gui lutris protontricks mangohud gamescope -y + sudo dnf install appimagelauncher qt5-qtbase-gui lutris protontricks -y mkdir $HOME/Applications cd $HOME/Applications curl -LO $(curl -s https://api.github.com/repos/DavidoTek/ProtonUp-Qt/releases/latest | grep "browser_download_url.*ProtonUp-Qt-.*-x86_64.AppImage" | head --lines 1 | cut -d : -f 2,3 | tr -d \") -C - diff --git a/install-stuff/install-yt-music.bash b/install-stuff/install-yt-music.bash index e15458e..318f41c 100755 --- a/install-stuff/install-yt-music.bash +++ b/install-stuff/install-yt-music.bash @@ -1,4 +1,5 @@ #!/usr/bin/env bash +set -e if [ $(whoami) == "root" ]; then echo "Run as a normal user, not root" exit 1 diff --git a/proxmox-desk-setup.sh b/proxmox-desk-setup.sh deleted file mode 100644 index f73d71a..0000000 --- a/proxmox-desk-setup.sh +++ /dev/null @@ -1,17 +0,0 @@ -#!/usr/bin/env bash -# switch to no subscription repos -echo '# Proxmox VE pve-no-subscription repository provided by proxmox.com, -# NOT recommended for production use -deb http://download.proxmox.com/debian/pve bookworm pve-no-subscription' >/etc/apt/sources.list.d/pve-no-enterprise.list -echo 'deb http://download.proxmox.com/debian/ceph-squid bookworm no-subscription' >/etc/apt/sources.list.d/ceph.list -rm /etc/apt/sources.list.d/pve-enterprise.list -apt update -apt upgrade - -echo 'zram' >/etc/modules-load.d/zram.conf -echo 'ACTION=="add", KERNEL=="zram0", ATTR{comp_algorithm}="zstd", ATTR{disksize}="64G", RUN="/usr/bin/mkswap -U clear /dev/%k", TAG+="systemd"' >/etc/udev/rules.d/99-zram.rules -echo '/dev/zram0 none swap defaults,discard,pri=100 0 0' >/etc/fstab -echo 'vm.swappiness = 180 -vm.watermark_boost_factor = 0 -vm.watermark_scale_factor = 125 -vm.page-cluster = 0' >/etc/sysctl.d/99-vm-zram-parameters.conf