Add new dotenv
This commit is contained in:
121
dotenv_fedora.sh
Executable file
121
dotenv_fedora.sh
Executable file
@@ -0,0 +1,121 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Packages
|
||||
sudo dnf install -y \
|
||||
git \
|
||||
vim \
|
||||
steam-devices
|
||||
|
||||
# Install programs using flatpak
|
||||
echo -e "\n\n\nInstalling FlatPak Desktop Programs\n\n\n"
|
||||
flatpak install \
|
||||
flathub \
|
||||
com.usebottles.bottles \
|
||||
com.valvesoftware.Steam \
|
||||
com.bitwarden.desktop \
|
||||
com.discordapp.Discord \
|
||||
com.obsproject.Studio \
|
||||
org.libretro.RetroArch \
|
||||
org.qbittorrent.qBittorrent \
|
||||
org.filezillaproject.Filezilla \
|
||||
com.github.taiko2k.tauonmb \
|
||||
org.kde.knights \
|
||||
org.kde.kmines \
|
||||
org.kde.ksudoku \
|
||||
org.kde.kpat \
|
||||
fr.handbrake.ghb \
|
||||
org.audacityteam.Audacity \
|
||||
org.blender.Blender \
|
||||
org.mapeditor.Tiled \
|
||||
org.libreoffice.LibreOffice \
|
||||
org.kde.kalk \
|
||||
com.nextcloud.desktopclient.nextcloud \
|
||||
org.kde.kdenlive \
|
||||
com.github.tchx84.Flatseal \
|
||||
io.dbeaver.DBeaverCommunity \
|
||||
com.unity.UnityHub \
|
||||
com.github.k4zmu2a.spacecadetpinball \
|
||||
org.prismlauncher.PrismLauncher \
|
||||
net.rpcs3.RPCS3 \
|
||||
org.yuzu_emu.yuzu \
|
||||
info.cemu.Cemu \
|
||||
org.DolphinEmu.dolphin-emu \
|
||||
io.github.lime3ds.Lime3DS \
|
||||
org.kde.ksudoku \
|
||||
org.kde.krita \
|
||||
com.google.Chrome \
|
||||
dev.goats.xivlauncher \
|
||||
org.mozilla.Thunderbird \
|
||||
io.github.MakovWait.Godots \
|
||||
org.luanti.luanti \
|
||||
org.musicbrainz.Picard \
|
||||
rocks.shy.VacuumTube \
|
||||
io.openrct2.OpenRCT2 \
|
||||
com.pokemmo.PokeMMO \
|
||||
org.kartkrew.RingRacers \
|
||||
com.visualstudio.code \
|
||||
net.shadps4.shadPS4 \
|
||||
app.organicmaps.desktop \
|
||||
com.bambulab.BambuStudio \
|
||||
org.azahar_emu.Azahar \
|
||||
com.felipekinoshita.Kana \
|
||||
org.kde.kblocks \
|
||||
tv.plex.PlexHTPC \
|
||||
net.kuribo64.melonDS \
|
||||
org.kde.isoimagewriter \
|
||||
org.kde.kamoso \
|
||||
--assumeyes
|
||||
|
||||
# Docker
|
||||
sudo dnf install dnf-plugins-core
|
||||
sudo dnf config-manager addrepo --from-repofile="https://download.docker.com/linux/fedora/docker-ce.repo"
|
||||
sudo dnf install docker-ce docker-ce-cli containerd.io docker-compose
|
||||
sudo systemctl start docker
|
||||
|
||||
# PIA
|
||||
echo -e "\n\n\nInstalling Private Internet Access\n\n\n"
|
||||
if ! command -v piactl &> /dev/null
|
||||
then
|
||||
wget https://installers.privateinternetaccess.com/download/pia-linux-3.5.7-08120.run -O ~/Downloads/pia.run
|
||||
chmod +x ~/Downloads/pia.run
|
||||
mkdir -p ~/.config/privateinternetaccess
|
||||
cp ./configs/pia-settings.json ~/.config/privateinternetaccess/clientsettings.json
|
||||
~/Downloads/pia.run
|
||||
rm ~/Downloads/pia.run
|
||||
fi
|
||||
|
||||
# Ollama
|
||||
curl -fsSL https://ollama.com/install.sh | sh
|
||||
|
||||
# Node JS / NVM
|
||||
echo -e "\n\n\nNodeJS\n\n\n"
|
||||
if ! command -v nvm &> /dev/null
|
||||
then
|
||||
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.1/install.sh | bash
|
||||
NVM_DIR="$HOME/.nvm"
|
||||
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh"
|
||||
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion"
|
||||
fi
|
||||
|
||||
nvm install --lts
|
||||
npm i -g yarn
|
||||
|
||||
# VIM
|
||||
echo -e "\n\n\nVIM\n\n\n"
|
||||
echo "alias vim='nvim'" >> ~/.bashrc
|
||||
z
|
||||
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
|
||||
cp ./configs/vimrc-plugins ~/.config/nvim/init.vim
|
||||
nvim +"PlugInstall --sync" +qa
|
||||
cat ./configs/vimrc-config >> ~/.config/nvim/init.vim
|
||||
|
||||
# Git Config
|
||||
git config --global user.name Dominic Masters
|
||||
git config --global user.email dominic@domsplace.com
|
||||
|
||||
# Shopify stuff
|
||||
curl -sSL https://get.rvm.io | bash
|
||||
source $HOME/.rvm/scripts/rvm
|
||||
rvm install 3.3
|
||||
rvm use 3.3 --default
|
||||
npm install -g @shopify/cli @shopify/theme
|
Reference in New Issue
Block a user