Compare commits

...

2 commits

Author SHA1 Message Date
askiiart
555219ffa4
update packages to match blendos-configs 2024-12-06 23:19:21 -06:00
askiiart
9ca198abab
add proxmox desktop setup 2024-12-06 23:16:27 -06:00
5 changed files with 31 additions and 8 deletions

View file

@ -1,6 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
if [ $(whoami) == "root" ]; then if [ $(whoami) == "root" ]; then
echo "Run as a normal user, not root" echo "Run as a normal user, not root"
exit 1 exit 1
@ -14,9 +12,11 @@ if command_exists "apt-get"; then
sudo apt-get install kitty -y sudo apt-get install kitty -y
echo "Please install SchildiChat, nvim/neovim" echo "Please install SchildiChat, nvim/neovim"
elif command_exists "dnf"; then 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 -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 minetest fuse-sshfs syncthing nasm sysstat -y
sudo dnf install ffmpeg --allowerasing sudo dnf install ffmpeg --allowerasing
sudo systemctl enable --now syncthing@askiiart
sudo dnf copr enable wezfurlong/wezterm-nightly sudo dnf copr enable wezfurlong/wezterm-nightly
sudo dnf install wezterm sudo dnf install wezterm
@ -24,9 +24,14 @@ 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 # 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 ' ') 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 Prism Launcher # Install FjordLauncherUnlocked
sudo dnf copr enable g3tchoo/prismlauncher mkdir ~/Applications
sudo dnf install prismlauncher-qt5 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
elif command_exists "rpm-ostree"; then 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 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

View file

@ -9,6 +9,8 @@ command_exists() { type "$1" &>/dev/null; }
if command_exists "yum"; then if command_exists "yum"; then
sudo dnf install rustup -y sudo dnf install rustup -y
fish -c "rustup-init" fish -c "rustup-init"
fish -c "cargo install cavif"
elif command_exists "rpm-ostree"; then elif command_exists "rpm-ostree"; then
sudo wget https://askiiart.net/repos/fedora/x86_64/askiiart.repo -O /etc/yum.repos.d/askiiart.repo sudo wget https://askiiart.net/repos/fedora/x86_64/askiiart.repo -O /etc/yum.repos.d/askiiart.repo
rpm-ostree install rustup -y rpm-ostree install rustup -y

View file

@ -13,7 +13,7 @@ if command_exists "apt-get"; then
sudo dpkg -i steam.deb sudo dpkg -i steam.deb
elif command_exists "dnf"; then elif command_exists "dnf"; then
sudo dnf install steam -y sudo dnf install steam -y
sudo dnf install appimagelauncher qt5-qtbase-gui lutris protontricks -y sudo dnf install appimagelauncher qt5-qtbase-gui lutris protontricks mangohud gamescope -y
mkdir $HOME/Applications mkdir $HOME/Applications
cd $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 - 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 -

View file

@ -1,5 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
set -e
if [ $(whoami) == "root" ]; then if [ $(whoami) == "root" ]; then
echo "Run as a normal user, not root" echo "Run as a normal user, not root"
exit 1 exit 1

17
proxmox-desk-setup.sh Normal file
View file

@ -0,0 +1,17 @@
#!/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