added stuff

This commit is contained in:
boo3 2024-08-26 22:16:55 +02:00
parent d95283a70f
commit a62fccd2cd
5 changed files with 125 additions and 2 deletions

View File

@ -1,2 +1,42 @@
#!/bin/bash #!/bin/bash
flatpak install flathub md.obsidian.Obsidian com.mattjakeman.ExtensionManager io.github.shiftey.Desktop io.github.achetagames.epic_asset_manager
sudo flatpak -y install flathub \
md.obsidian.Obsidian \
com.mattjakeman.ExtensionManager \
io.github.shiftey.Desktop \
io.github.achetagames.epic_asset_manager \
org.prismlauncher.PrismLauncher \
org.ryujinx.Ryujinx \
org.shotcut.Shotcut \
org.videolan.VLC \
tv.plex.PlexDesktop \
uk.org.greenend.chiark.sgtatham.putty \
org.freedesktop.Platform.VulkanLayer.MangoHud \
org.filezillaproject.Filezilla \
org.chromium.Chromium \
net.pcsx2.PCSX2 \
net.lutris.Lutris \
it.fabiodistasio.AntaresSQL \
io.mrarm.mcpelauncher \
io.missioncenter.MissionCenter \
io.github.congard.qnvsm \
io.github.dvlv.boxbuddyrs \
io.github.prateekmedia.appimagepool \
dev.vencord.Vesktop \
com.vysp3r.ProtonPlus \
com.vscodium.codium \
com.usebottles.bottles \
com.spotify.Client \
com.plexamp.Plexamp \
com.obsproject.Studio \
com.mattjakeman.ExtensionManager \
com.leinardi.gwe \
com.heroicgameslauncher.hgl \
com.github.tchx84.Flatseal \
com.github.maoschanz.drawing \
com.github.jeromerobert.pdfarranger \
com.github.alexkdeveloper.desktop-files-creator \
com.github.Matoking.protontricks \
com.github.GradienceTeam.Gradience \
com.getpostman.Postman \
app.xemu.xemu

View File

@ -3,7 +3,7 @@ sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null
sudo dnf update -y sudo dnf update -y
sudo dnf group install --with-optional virtualization sudo dnf group install --with-optional virtualization -y
sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda distrobox code nextcloud-client -y sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda distrobox code nextcloud-client -y

16
setupdrives.sh Normal file
View File

@ -0,0 +1,16 @@
# Array of lines to add to /etc/fstab
fstab_entries=(
"LABEL=storage /mnt/storage auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=storage 0 0"
)
# Iterate over the array and add each entry to /etc/fstab if it doesn't already exist
for entry in "${fstab_entries[@]}"; do
if ! grep -qF "$entry" /etc/fstab; then
echo "$entry" | sudo tee -a /etc/fstab > /dev/null
echo "Added entry: $entry"
else
echo "Entry already exists: $entry"
fi
done
sudo reboot

65
setupstorage.sh Normal file
View File

@ -0,0 +1,65 @@
#!/bin/bash
# Create folders for fstab
# Array of directories to create
directories=(
# Setup home dir
~/Applications
~/Developer/Projects
~/Developer/UnrealEngine/Engine
~/Developer/UnrealEngine/Vault
~/Games/SSD
~/Games/HDD
~/Notes
~/.virtualization
~/.virtualization/storage/ssd
~/.virtualization/storage/hdd
~/.virtualization/storage/installer
/mnt/storage
# Custom folders
/mnt/storage/.fstab/Projects
/mnt/storage/.fstab/Engine
/mnt/storage/.fstab/Vault
/mnt/storage/.fstab/Games
/mnt/storage/.fstab/virtualization/hdd
/mnt/storage/.fstab/virtualization/installer
# Default Folders
/mnt/storage/.fstab/Downloads
/mnt/storage/.fstab/Music
/mnt/storage/.fstab/Pictures
/mnt/storage/.fstab/Videos
)
# Iterate over the array and create each directory if it doesn't exist
for dir in "${directories[@]}"; do
mkdir -p "$dir"
done
# Create links
# Array of lines to add to /etc/fstab
fstab_entries=(
"/mnt/storage/.fstab/Projects /home/boo3/Applications none bind,x-gvfs-hide 0 0"
"/mnt/storage/.fstab/Engine /home/boo3/Developer/UnrealEngine/Engine none bind,x-gvfs-hide 0 0"
"/mnt/storage/.fstab/Vault /home/boo3/Developer/UnrealEngine/Vault none bind,x-gvfs-hide 0 0"
"/mnt/storage/.fstab/Games /home/boo3/Games/HDD none bind,x-gvfs-hide 0 0"
"/mnt/storage/.fstab/virtualization/hdd /home/boo3/.virtualization/storage/hdd none bind,x-gvfs-hide 0 0"
"/mnt/storage/.fstab/virtualization/installer /home/boo3/.virtualization/storage/installer none bind,x-gvfs-hide 0 0"
"/mnt/storage/.fstab/Downloads /home/boo3/Downloads none bind,x-gvfs-hide 0 0"
"/mnt/storage/.fstab/Music /home/boo3/Music none bind,x-gvfs-hide 0 0"
"/mnt/storage/.fstab/Pictures /home/boo3/Pictures none bind,x-gvfs-hide 0 0"
"/mnt/storage/.fstab/Videos /home/boo3/Videos none bind,x-gvfs-hide 0 0"
)
# Iterate over the array and add each entry to /etc/fstab if it doesn't already exist
for entry in "${fstab_entries[@]}"; do
if ! grep -qF "$entry" /etc/fstab; then
echo "$entry" | sudo tee -a /etc/fstab > /dev/null
echo "Added entry: $entry"
else
echo "Entry already exists: $entry"
fi
done
sudo reboot

2
startsetup.sh Normal file
View File

@ -0,0 +1,2 @@
#!/bin/bash
git clone https://git.thesecretvault.net/boo3/LinuxSetup.git