Pass inst.sdboot
on the installer GRUB menu for systemd-boot instead of GRUB
- EFI partition at
/boot/efi
@ 1024 MiB - BTRFS volume labeled
system
, not mounted @ max available size
subvolumes: /
, /home
, /.snapshots
- keep
/data
ext4 partition
sudo nano /etc/dnf/dnf.conf
Append the following
#excludepkgs=kernel*
deltarpm=true
max_parallel_downloads=5
#install_weak_deps=False
sudo sed -i 's/enabled=1/enabled=0/' \
/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo \
/etc/yum.repos.d/fedora-cisco-openh264.repo \
/etc/yum.repos.d/google-chrome.repo \
/etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo \
/etc/yum.repos.d/rpmfusion-nonfree-steam.repo
sudo dnf install https://mirrors.rpmfusion.org/free/fedora/rpmfusion-free-release-$(rpm -E %fedora).noarch.rpm https://mirrors.rpmfusion.org/nonfree/fedora/rpmfusion-nonfree-release-$(rpm -E %fedora).noarch.rpm
Then
sudo dnf update -y
Remove Fedora Flathub repo
flatpak remote-delete flathub
Enable default Flathub repo for user
flatpak remote-add -u --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
sudo fwupdmgr get-devices
sudo fwupdmgr refresh --force
sudo fwupdmgr get-updates
sudo fwupdmgr update
Remove thermald
and power-profiles-daemon
+ firefox
and langpacks
sudo dnf remove thermald power-profiles-daemon firefox firefox-langpacks -y
Remove initial firefox directory:
rm -r ~/.mozilla/
Enable COPRs:
sudo dnf copr enable sneexy/python-validity
sudo dnf copr enable abn/throttled
Install:
sudo dnf install tlp tlp-rdw throttled openssl zcfan rsms-inter-fonts wl-clipboard celluloid jetbrains-mono-fonts flameshot btrfs-assistant firewall-config open-fprintd fprintd-clients fprintd-clients-pam python3-validity
TLP
cp tlp.conf /etc/tlp.conf
throttled
cp throttled.conf /etc/throttled.conf
Disable rfkill
systemctl mask systemd-rfkill.service systemd-rfkill.socket
Enable TLP & throttled
systemctl enable --now tlp throttled
Copy config
cp zcfan.conf /etc/zcfan.conf
Enable fancontrol module
sudo -i
echo options thinkpad_acpi fan_control=1 > /etc/modprobe.d/99-fancontrol.conf
exit
Enable throttled on next boot
systemctl enable zcfan
sudo systemctl start python3-validity.service
sudo systemctl start open-fprintd.service
sudo systemctl enable open-fprintd-resume.service open-fprintd-suspend.service open-fprintd.service python3-validity.service
sudo authselect enable-feature with-fingerprint
sudo authselect apply-changes
sudo authselect current
Alternative services for suspend/resume
sudo systemctl disable open-fprintd-resume.service open-fprintd-suspend.service
sudo systemctl enable open-fprintd-restart-after-resume.service python3-validity-restart-after-resume.service
sudo dnf swap 'ffmpeg-free' 'ffmpeg' --allowerasing
sudo dnf swap libva-intel-media-driver intel-media-driver --allowerasing
sudo dnf install ffmpeg gstreamer-ffmpeg
sudo dnf install ffmpeg ffmpeg-libs libva libva-utils
Disable NM-wait-online
sudo systemctl disable NetworkManager-wait-online.service
Enable firewall
sudo enable --now firewalld
sudo dnf install fish -y
Copy fish configs
To do
Change default shell to fish
sudo usermod --shell /usr/bin/fish (whoami)