Skip to content

About

A Post installation script for Fedora KDE. Includes some custom scripts, tweaks and preferred software installation and setup. Includes gaming realated tweaks

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Latest commit

 

History

47 Commits

Folders and files

Repository files navigation

Fedora Post-Install Setup

License: MIT Fedora Version Bash

I have been trying different linux distros in the past years and found myself coming back to Fedora a few times until I finally settled with it for my daily driver. I wanted to automate things I did after the initial installation, so here it is:

A post-installation setup script for Fedora Linux, focusing on gaming, development, and multimedia support. Sets up drivers, codecs, gaming tools, development environments, and a few quality-of-life tweaks.

This repo only handles the system-level bootstrap. Personal dotfiles (shell, terminal, KDE config, etc.) live in a separate repo and are managed with GNU Stow.

What this does

  • post_install.sh — installs RPM Fusion, multimedia codecs, GPU drivers, gaming stack (Steam / Wine / GameMode / MangoHUD), development tools (uv, rustup), Sunshine, fonts, Starship, sets up Quad9 DNS-over-TLS, applies hardware-specific fixes (MT7922 wifi, Logitech MX Vertical button remap via logiops, ASUS fan curves), and a few KDE cleanups.
  • etc/dnf/dnf.conf — sane DNF defaults copied to /etc/dnf/.
  • etc/logid.cfg — logiops config; remaps the MX Vertical's firmware-trapped top DPI button to F12 via uinput.
  • etc/systemd/resolved.conf.d/10-dns-over-tls.conf — sends all DNS to Quad9 over TLS through systemd-resolved.
  • etc/udev/rules.d/99-logid-rebind.rules — restarts logid when the MX Vertical wakes from deep sleep, so the DPI→F12 remap survives reconnects (logiops drops the binding otherwise).
  • etc/udev/rules.d/61-drm-gpu-names.rules — stable /dev/dri/nvidia-dgpu / /dev/dri/amd-igpu names on hybrid laptops (for picking KWin's GPU via KWIN_DRM_DEVICES).
  • etc/udev/rules.d/50-usb-ethernet-autosuspend.rules — keeps an AX88179 USB Ethernet dongle from autosuspending.
  • extras/zapret/ — optional Discord DPI-unblock config, see below.
  • install.sh — thin wrapper that copies etc/ and runs post_install.sh.

Laptop vs desktop

The same script runs on both. It reads the machine type from the firmware (chassis type) and you can override it with PROFILE=laptop|desktop. Each hardware step also checks for its own device:

Step Runs when
NVIDIA driver + nouveau blacklist an NVIDIA GPU is present
LACT (AMD GPU control panel) + nvtop a discrete AMD Radeon ("Navi") is present
asusctl + Performance fan curve ASUS laptop
MT7922 wifi fixes the mt7921e driver is in use
logiops a Logitech device is plugged in

Optional extras

Off by default; enable with environment variables:

sudo WITH_OLLAMA=1 WITH_ZAPRET=1 ./install.sh
  • WITH_OLLAMA=1 — installs Ollama (local LLM server).
  • WITH_AMD_OVERDRIVE=1 — adds amdgpu.ppfeaturemask=0xffffffff to the kernel cmdline so LACT can undervolt/overclock a Radeon (fan curve and power limit work without it). Taints the kernel.
  • WITH_ZAPRET=1 — installs zapret with the config in extras/zapret/ to get around ISP DPI blocking of Discord. See extras/zapret/README.md.

The dnf and flatpak package lists live in post_install.sh under the Software Installation section.

Installation

  1. Clone this repository:

    git clone https://github.com/yourusername/fedora_post_install.git
    cd fedora_post_install
  2. Run the installer with sudo:

    sudo ./install.sh

The installer will:

  1. Copy etc/ configurations into /etc/
  2. Run post_install.sh

Note

Please review the scripts before running them. In particular check post_install.sh for the package list, kernel cmdline args, and DNS settings.

Contributing

Contributions are welcome! Please feel free to submit a Pull Request. Here's how you can contribute:

  1. Fork the repository
  2. Create your feature branch (git checkout -b feature/amazing-feature)
  3. Commit your changes (git commit -m 'Add some amazing feature')
  4. Push to the branch (git push origin feature/amazing-feature)
  5. Open a Pull Request

Guidelines

  • Keep scripts POSIX-compliant where possible
  • Add comments explaining complex operations
  • Update documentation when adding new features
  • Test your changes before submitting
  • Follow the existing code style

Security

The scripts in this repository modify system settings and install packages. Please review the code before running it on your system. While we strive to maintain security, use at your own risk.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Acknowledgments

About

A Post installation script for Fedora KDE. Includes some custom scripts, tweaks and preferred software installation and setup. Includes gaming realated tweaks

Topics

Resources

Stars

2 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages