1
0
mirror of https://github.com/tommytran732/Linux-Setup-Scripts synced 2024-12-23 07:12:07 -05:00
My setup script for my Linux systems
Go to file
2021-03-13 09:51:19 -05:00
selinux Add files via upload 2021-03-13 09:04:41 -05:00
install.sh Fixed some issues with DKMS, added SELinux policies 2021-03-13 09:51:19 -05:00
LICENSE Initial commit 2021-03-12 23:45:30 -05:00
README.md Update README.md 2021-03-13 09:37:13 -05:00

Fedora-Workstation-Setup

My setup script for Fedora Workstation edition. You should edit the script to your liking before running it.
The script is tested on Fedora Workstation 33.
Please run the script as your actual user and not root. Provide sudo password when it asks you to. Flatpak packages and themes/icons are only installed for your user and not system wide.

Notable Features

  1. Debloat Fedora
    It removes some ~800 useless packages from the default installation. A lot of these have Flatpak alternatives and you should be using them for app confinement.

  2. Setup basic privacy and security (Setting umask to 077, closing open ports on firewalld, randomizing mac address, disabling ptrace, install openSnitch as an outbound firewall, ...)

  3. Setup a BTRFS layout compatible with Timeshift. Credits to https://mutschler.eu/linux/install-guides/fedora-btrfs/

  4. Install proprietary Nvidia Drivers and sign them (yes, you don't have to sacrifice Secure Boot for these proprietary drivers. The drivers will be automatically built and signed every kernel update as well. It was honestly a headache to get it working, and it seems to only work on Workstation... I don't know how to get it to work on Silverblue yet.)

  5. Setup Anbox using the snap package and out of tree kernel modules (yes, the kernel modules are automatically signed by DKMS - this is also a pain. If only Fedora included the in tree ashmem and binder modules in their kernel. Also yes, I provide some selinux policies for ya as well, don't be an idiot and set it to permissive mode!)

  6. Setup Flathub

  7. Quality of life stuff (Installing some packages that I use, enabling autotrim, setting up a nice GNOME, GTK, and icon theme, speeding up DNF, ...)

  8. Fix broken audio with Steam

image

image