mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 08:41:43 +05:30
fix(install-script): docker install fix, brave installation
- Install docker, brave through repositories instead of brew
This commit is contained in:
@@ -37,6 +37,12 @@ dnf_setup() {
|
|||||||
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
|
sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc
|
||||||
printf "%s\n%s\n%s\n%s\n%s\n%s\n" "[code]" "name=Visual Studio Code" "baseurl=https://packages.microsoft.com/yumrepos/vscode" "enabled=1" "gpgcheck=1" "gpgkey=https://packages.microsoft/com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo >/dev/null
|
printf "%s\n%s\n%s\n%s\n%s\n%s\n" "[code]" "name=Visual Studio Code" "baseurl=https://packages.microsoft.com/yumrepos/vscode" "enabled=1" "gpgcheck=1" "gpgkey=https://packages.microsoft/com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo >/dev/null
|
||||||
|
|
||||||
|
# Add docker repository
|
||||||
|
sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
|
||||||
|
|
||||||
|
# Add Brave repository
|
||||||
|
sudo dnf-3 config-manager --add-repo --from-repofile=https://brave-browser-rpm-release.s3.brave.com/brave-browser.repo
|
||||||
|
|
||||||
# Install development Tools
|
# Install development Tools
|
||||||
sudo yum groupinstall -y "Development Tools" && yum install readline readline-devel -y
|
sudo yum groupinstall -y "Development Tools" && yum install readline readline-devel -y
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,5 @@
|
|||||||
#!/usr/bin/env sh
|
#!/usr/bin/env sh
|
||||||
|
|
||||||
# TODO: Things that did not work
|
|
||||||
# - dotfiles: could NOT link it to aliases_personal
|
|
||||||
|
|
||||||
kitty_term() {
|
kitty_term() {
|
||||||
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
|
curl -L https://sw.kovidgoyal.net/kitty/installer.sh | sh /dev/stdin
|
||||||
|
|
||||||
@@ -24,6 +21,9 @@ manual_installs() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
|
command -v docker >/dev/null 2>&1 && systemctl enable --now docker >/dev/null 2>&1 && echo "Docker enabled"
|
||||||
|
command -v docker >/dev/null 2>&1 && usermod -aG docker "$USER" && newgrp docker && echo "Added $USER to docker group"
|
||||||
|
|
||||||
chsh -s "$(which zsh)" && echo "Default shell changed to zsh"
|
chsh -s "$(which zsh)" && echo "Default shell changed to zsh"
|
||||||
|
|
||||||
# Time fix for Windows dual boot
|
# Time fix for Windows dual boot
|
||||||
|
|||||||
@@ -3,8 +3,6 @@
|
|||||||
bat
|
bat
|
||||||
bats-core
|
bats-core
|
||||||
dnscrypt-proxy
|
dnscrypt-proxy
|
||||||
docker
|
|
||||||
docker-compose
|
|
||||||
fd
|
fd
|
||||||
fzf
|
fzf
|
||||||
gitleaks
|
gitleaks
|
||||||
|
|||||||
@@ -9,11 +9,13 @@ nvidia-driver
|
|||||||
synaptic
|
synaptic
|
||||||
# Below few are dnf-only packages
|
# Below few are dnf-only packages
|
||||||
akmod-nvidia
|
akmod-nvidia
|
||||||
|
dnf-plugins-core
|
||||||
libva-nvidia-driver
|
libva-nvidia-driver
|
||||||
xorg-x11-drv-nvidia-cuda
|
xorg-x11-drv-nvidia-cuda
|
||||||
# Common
|
# Common
|
||||||
bash
|
bash
|
||||||
bleachbit
|
bleachbit
|
||||||
|
brave-browser
|
||||||
ca-certificates
|
ca-certificates
|
||||||
clang
|
clang
|
||||||
cmake
|
cmake
|
||||||
@@ -22,6 +24,11 @@ code
|
|||||||
curl
|
curl
|
||||||
evolution-ews
|
evolution-ews
|
||||||
evolution-mapi
|
evolution-mapi
|
||||||
|
docker-ce
|
||||||
|
docker-ce-cli
|
||||||
|
containerd.io
|
||||||
|
docker-buildx-plugin
|
||||||
|
docker-compose-plugin
|
||||||
dolphin
|
dolphin
|
||||||
dolphin-plugins
|
dolphin-plugins
|
||||||
dnscrypt-proxy
|
dnscrypt-proxy
|
||||||
|
|||||||
Reference in New Issue
Block a user