1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-11-22 09:31:34 -05:00

Compare commits

..

5 Commits

Author SHA1 Message Date
81a9e0b3e5
Fix missing sudo
Signed-off-by: Tommy <contact@tommytran.io>
2024-01-02 08:18:58 -07:00
93cb4284d3
Flatpak hardening
Signed-off-by: Tommy <contact@tommytran.io>
2024-01-02 08:17:36 -07:00
215124cf14
Add Fixes
Signed-off-by: Tommy <contact@tommytran.io>
2024-01-02 08:16:06 -07:00
b2d89126fb
Fix Edge setup
Signed-off-by: Tommy <contact@tommytran.io>
2024-01-02 07:19:41 -07:00
7861b9e50f
Fix Edge permission
Signed-off-by: Tommy <contact@tommytran.io>
2024-01-02 07:15:51 -07:00
2 changed files with 14 additions and 3 deletions

View File

@ -124,7 +124,12 @@ sudo dnf remove -y rhythmbox yelp evince libreoffice* cheese file-roller* mediaw
sudo dnf config-manager --set-disabled fedora-cisco-openh264 sudo dnf config-manager --set-disabled fedora-cisco-openh264
# Install packages that I use # Install packages that I use
sudo dnf -y install gnome-console git-core gnome-shell-extension-appindicator gnome-shell-extension-blur-my-shell gnome-shell-extension-background-logo sudo dnf -y install gnome-console gnome-shell-extension-appindicator gnome-shell-extension-blur-my-shell gnome-shell-extension-background-logo
# Setup Flatpak
sudo flatpak override --system --nosocket=x11 --nosocket=fallback-x11 --nosocket=pulseaudio --unshare=network --unshare=ipc --nofilesystem=host:reset
flatpak remote-add --if-not-exists --user flathub https://dl.flathub.org/repo/flathub.flatpakrepo
flatpak --user install fedora org.gnome.Extensions -y
# Install Microsoft Edge if x86_64 # Install Microsoft Edge if x86_64
MACHINE_TYPE=$(uname -m) MACHINE_TYPE=$(uname -m)
@ -136,10 +141,12 @@ if [ "${MACHINE_TYPE}" == 'x86_64' ]; then
sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge sudo dnf config-manager --add-repo https://packages.microsoft.com/yumrepos/edge
sudo dnf install -y microsoft-edge-stable sudo dnf install -y microsoft-edge-stable
sudo mkdir -p /etc/opt/edge/policies/managed/ /etc/opt/edge/policies/recommended/ sudo mkdir -p /etc/opt/edge/policies/managed/ /etc/opt/edge/policies/recommended/
sudo chmod 755 /etc/opt/edge/policies/managed/ /etc/opt/edge/policies/recommended/ sudo chmod -R 755 /etc/opt/edge
unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/managed.json | sudo tee /etc/opt/edge/policies/managed/managed.json unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/managed.json | sudo tee /etc/opt/edge/policies/managed/managed.json
unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/recommended.json | sudo tee /etc/opt/edge/policies/managed/recommended.json sudo chmod 644 /etc/opt/edge/policies/managed/managed.json
unpriv curl https://raw.githubusercontent.com/TommyTran732/Microsoft-Edge-Policies/main/Linux/recommended.json | sudo tee /etc/opt/edge/policies/recommended/recommended.json
sudo chmod 644 /etc/opt/edge/policies/managed/managed.json /etc/opt/edge/policies/managed/recommended.json sudo chmod 644 /etc/opt/edge/policies/managed/managed.json /etc/opt/edge/policies/managed/recommended.json
sudo chmod 644 /etc/opt/edge/policies/managed/recommended.json
fi fi
# Enable auto TRIM # Enable auto TRIM

View File

@ -1,5 +1,9 @@
[main] [main]
gpgcheck=True gpgcheck=True
installonly_limit=3
clean_requirements_on_remove=True
best=False
skip_if_unavailable=True
max_parallel_downloads=10 max_parallel_downloads=10
deltarpm=False deltarpm=False
defaultyes=True defaultyes=True