This is a selection of settings and preferences for my Fedora Silverblue installation.
Reference:
- https://rpmfusion.org/Howto/OSTree
- https://docs.fedoraproject.org/en-US/fedora-silverblue/troubleshooting/
To show difference after upgrades:
rpm-ostree db diff -c
Increasing nofile
limits may be needed for certain applications and games to work.
See https://access.redhat.com/solutions/1257953 for more details.
NOTE: Reboot the system to apply increased limits.
If you are using encryption on a NVMe/SSD, you may want to improve performance by disabling the workqueue.
See https://wiki.archlinux.org/title/Dm-crypt/Specialties#Disable_workqueue_for_increased_solid_state_drive_(SSD)_performance for details.
If you are using Btrfs, you may want to use https://github.com/kdave/btrfsmaintenance:
rpm-ostree install btrfsmaintenance
nano /etc/sysconfig/btrfsmaintenance
Enable the timers:
sudo systemctl enable btrfs-balance.timer btrfs-defrag.timer btrfs-scrub.timer btrfs-trim.timer --now
It is discourage to install (large) software on the ostree. Try to use Flatpaks and toolboxes (toolbox create
and toolbox enter
) as much as possible.
You can pull the latest toolbox, using:
podman pull fedora-toolbox:40
To update a toolbox:
toolbox enter
sudo dnf update && sudo dnf upgrade
You can create multiple toolboxes, and even manage them using Podman Desktop.
To replace the provided default Firefox package, with the Firefox Flathub version for example:
rpm-ostree override remove firefox firefox-langpacks
NOTE: You can also hide the desktop entry itself.
Depending on your hardware, you may need to enable/disable different flags. See https://chromium.googlesource.com/chromium/src/+/refs/heads/main/docs/gpu/vaapi.md#vaapi-on-linux for details.
Enable and use rootless containers:
- https://github.com/containers/podman/blob/main/docs/tutorials/rootless_tutorial.md
- https://wiki.archlinux.org/title/Podman#Rootless_Podman
To learn more about Podman Quadlet, the following resources may be useful:
- https://docs.podman.io/en/latest/markdown/podman-systemd.unit.5.html
- https://www.redhat.com/sysadmin/quadlet-podman
- https://mo8it.com/blog/quadlet/
See the following guides:
- flathub/com.visualstudio.code#426 (comment)
- https://github.com/jorchube/devcontainer-definitions
- VSCodium/vscodium#1487
You may use Flatseal, and set the following overwrites:
- Add to
Other files
:xdg-run/podman:ro
- Add to
Variables
:FLATPAK_ENABLE_SDK_EXT=podman,php83
Current extensions:
$ flatpak run com.visualstudio.code --list-extensions | xargs -L 1 echo vsc --install-extension
aaron-bond.better-comments
amiralizadeh9480.laravel-extra-intellisense
bmewburn.vscode-intelephense-client
bradlc.vscode-tailwindcss
christian-kohler.npm-intellisense
christian-kohler.path-intellisense
davidanson.vscode-markdownlint
dbaeumer.vscode-eslint
devsense.composer-php-vscode
eamodio.gitlens
editorconfig.editorconfig
eriklynd.json-tools
esbenp.prettier-vscode
github.copilot
github.copilot-chat
github.github-vscode-theme
github.vscode-github-actions
jock.svg
ms-azuretools.vscode-docker
ms-vscode.atom-keybindings
onecentlin.laravel-blade
pkief.material-icon-theme
quicktype.quicktype
redhat.vscode-yaml
shd101wyy.markdown-preview-enhanced
sleistner.vscode-fileutils
streetsidesoftware.code-spell-checker
stylelint.vscode-stylelint
visualstudioexptteam.intellicode-api-usage-examples
visualstudioexptteam.vscodeintellicode
wmaurer.change-case
See https://starship.rs/guide/, append paths:
rpm-ostree install fish ibm-plex-mono-fonts ibm-plex-sans-fonts ibm-plex-serif-fonts
fish_add_path ~/.local/bin ~/.config/yarn/global/node_modules/.bin
See https://itsfoss.com/flatpak-app-apply-theme/ instructions for Flatpak theming.
To install Gnome Tweak:
rpm-ostree install gnome-tweak-tool