Compare commits
No commits in common. "555219ffa4059f897c33b1e19b8a707b742108f3" and "f2823f2c78823ce610a3260e0c47ecd92bbc2b93" have entirely different histories.
555219ffa4
...
f2823f2c78
5 changed files with 8 additions and 31 deletions
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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 -
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
#!/usr/bin/env bash
|
||||
set -e
|
||||
if [ $(whoami) == "root" ]; then
|
||||
echo "Run as a normal user, not root"
|
||||
exit 1
|
||||
|
|
|
@ -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
|
Loading…
Add table
Add a link
Reference in a new issue