Compare commits

...

3 Commits

View File

@ -51,6 +51,7 @@ _{{ page.excerpt }}_
- [Encrypted DNS](#encrypted-dns) - [Encrypted DNS](#encrypted-dns)
- [`/etc/xdg/autostart`](#etcxdgautostart) - [`/etc/xdg/autostart`](#etcxdgautostart)
- [`aminda-*.{service,socket}`](#aminda-servicesocket) - [`aminda-*.{service,socket}`](#aminda-servicesocket)
- [systemd sockets](#systemd-sockets)
- [Remember!](#remember) - [Remember!](#remember)
- [Accessing UEFI setup without key smashing](#accessing-uefi-setup-without-key-smashing) - [Accessing UEFI setup without key smashing](#accessing-uefi-setup-without-key-smashing)
- [Recovering selinux policy issues](#recovering-selinux-policy-issues) - [Recovering selinux policy issues](#recovering-selinux-policy-issues)
@ -176,7 +177,7 @@ Just remember to `pipx upgrade-all` occassionally!
This section is a WIP and to avoid having to install some rpm-ostree... This section is a WIP and to avoid having to install some rpm-ostree...
``` ```
brew install aircrack-ng btop htop inxi ipfs llvm mpv mtr neovim nmap node pipx pre-commit qrencode ruby smartmontools symlinks zsh brew install aircrack-ng btop htop inxi ipfs llvm mtr neovim nmap node pipx pre-commit qrencode ruby smartmontools symlinks
``` ```
## Fedora Atomic ## Fedora Atomic
@ -189,7 +190,7 @@ bit...
# Ensure third party Fedora repos are available, this is part of KDE Prompt? # Ensure third party Fedora repos are available, this is part of KDE Prompt?
sudo fedora-third-party enable sudo fedora-third-party enable
# Layer packages I need on top of the base image. # Layer packages I need on top of the base image.
sudo rpm-ostree install android-tools cronie cronie-anacron darkman duperemove foot foot-terminfo gamescope git-lfs haveged iwd mangohud mosh rng-tools setroubleshoot snapd sshguard steam-devices syncthing terminus-fonts-console tmux tor torsocks unbound zsh sudo rpm-ostree install android-tools cronie cronie-anacron darkman duperemove foot foot-terminfo gamescope git-lfs haveged iwd mangohud mosh mpv rng-tools setroubleshoot snapd sshguard steam-devices syncthing terminus-fonts-console tmux tor torsocks unbound zsh
# Remove packages I don't need from the base image. (Challenge to remove # Remove packages I don't need from the base image. (Challenge to remove
# nothing failed by using rpmfusion codecs anyway) # nothing failed by using rpmfusion codecs anyway)
sudo rpm-ostree override remove firefox firefox-langpacks sudo rpm-ostree override remove firefox firefox-langpacks
@ -217,17 +218,14 @@ Consider also adding
there is repository breakage risk stopping system upgrades, at least it will there is repository breakage risk stopping system upgrades, at least it will
upgrade itself as opposed to errorring about being a local not upgraded upgrade itself as opposed to errorring about being a local not upgraded
package in the future. package in the future.
- You need it when using either Broadcom WiFi or - You need it when using e.g. Broadcom WiFi or `mpv` and receiving
`Failed to initialize a decoder for codec 'hevc'.` from `mpv` which gets `Failed to initialize a decoder for codec 'hevc'.`
resolved by following the instructions for your hardware or software codecs.
### Additional rpm-ostree install ### Additional rpm-ostree install
- In general `neilalexander`'s yggdrasil copr makes life easier with - In general `neilalexander`'s yggdrasil copr makes life easier with
`sudo rpm-ostree install yggdrasil` `sudo rpm-ostree install yggdrasil`
- For ThinkPads: `sudo rpm-ostree install tlp tlp-rdw` is good for battery - For ThinkPads: `sudo rpm-ostree install tlp tlp-rdw` is good for battery
- For Broadcom WiFi with `rpmfusion-nonfree` enabled:
`sudo rpm-ostree install akmod-wl kernel-devel`
- For NVIDIA propietary drivers with `sudo fedora-third-party enable`: - For NVIDIA propietary drivers with `sudo fedora-third-party enable`:
`sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia-cuda` `sudo rpm-ostree install akmod-nvidia xorg-x11-drv-nvidia-cuda`
- This also requires - This also requires
@ -236,11 +234,16 @@ Consider also adding
[rpmfusion howto nvidia#ostree](https://rpmfusion.org/Howto/NVIDIA#OSTree_.28Silverblue.2FKinoite.2Fetc.29) [rpmfusion howto nvidia#ostree](https://rpmfusion.org/Howto/NVIDIA#OSTree_.28Silverblue.2FKinoite.2Fetc.29)
- For Steam Deck and other handhelds with their copr: - For Steam Deck and other handhelds with their copr:
`sudo rpm-ostree install hhd adjustor hhd-ui` `sudo rpm-ostree install hhd adjustor hhd-ui`
- Also with rpmfusion for DVD playback - rpmfusion packages
`sudo rpm-ostree install rpmfusion-free-release-tainted` and - For Broadcom WiFi with `rpmfusion-nonfree` enabled:
`sudo rpm-ostree install libdvdcss` `sudo rpm-ostree install akmod-wl kernel-devel`
- rpmfusion also has `sudo rpm-ostree install pipewire-codec-aptx` which allows - DVD playback: `sudo rpm-ostree install rpmfusion-free-release-tainted` and
better quality playback with some BT devices such as Fairbuds XL. `sudo rpm-ostree install libdvdcss`
- Bluetooth APTX HD codec: `sudo rpm-ostree install pipewire-codec-aptx` which
allows better quality playback with some devices e.g. Fairbuds XL.
- For
[hevc playback support](https://discussion.fedoraproject.org/t/how-do-i-enable-h265-hevc-playback-in-fedora-41-or-42-2025/147870),
`sudo rpm-ostree install libavcodec-freeworld`
### Flatpaks ### Flatpaks
@ -551,6 +554,18 @@ don't forget `/etc/sysctl.d`
- https://codeberg.org/Aminda/shell-things/src/branch/cxefa/etc/systemd/system - https://codeberg.org/Aminda/shell-things/src/branch/cxefa/etc/systemd/system
### systemd sockets
Starting services on-demand rather than keeping them on all the time. Some of
these are already on this page, but to recap and have them all in one place:
```bash
# User services or sockets
sudo systemctl --global enable foot-server.socket
# System sockets
sudo systemctl enable --now ssh.socket sshd.socket avahi-daemon.socket systemd-oomd.socket oidentd.socket
```
## Remember! ## Remember!
Not quite configuration, but I am not going to start inventing a new place for Not quite configuration, but I am not going to start inventing a new place for