- Ryzen 9 5900x
- PowerColor 6650 XT
- Aorus x570s Elite AX (settings)
- 2 x 32 GB ECC (https://www.kingston.com/dataSheets/KSM32ED8_32ME.pdf)
- 3 x Samsung 970 Evo Plus
Firmware
- 2 x NVMe -> ZFS mirror (root/home)
- 1 x NVMe -> FAT32 (boot) / XFS (backup)
- 3 x SATA -> ZFS zraid (storage) OR:
- 1 x SATA -> ZFS (storage)
F12
: Boot menuDelete
: BIOS
- Tweaker -> Advanced CPU Settings -> SVM Mode: Enabled
- Settings -> Miscellaneous -> LEDs in System Power On State: Off
- Boot -> Full Screen LOGO Show: Disabled
- Boot -> Fast Boot: Disabled
- Boot -> CSM Support: Disabled
- Boot -> Secure Boot -> Secure Boot: Disabled
- Boot -> Preferred Operating Mode: Advanced Mode
- Smart Fan 6 (F6): 30:20C, 32:30C, 34:40C, 36:50C, 38:60C, 40:70C, 80:85C
- Favorites (F11): Press 'Insert' key until favorite list has been cleared
Make sure to use step instead of gradual when adjusting the fan curve. That way the fan only kicks in at 85C.
Note: The only way to make persistent changes to the fan curve is by dragging with the mouse. Manually entering numbers into the text boxes below does not work.
dmidecode -t memory | grep "Total Width"
72 bits
means ECC is working.
- HP Dev One
- Intel AX200 Wi-Fi 6
- Samsung 990 Evo
Firmware
F9
: Boot menuF10
: BIOSEscape
: Both
xbps-install -yu fwupd
fwupdtool refresh
fwupdtool get-updates
fwupdtool update
- TPM State: Disabled
- Virtualization Technology: Enabled
- Adaptive Battery Optimizer: Enabled
- Keyboard Backlight Timeout: Never
- Network Boot: Disabled
- Secure Boot: Disabled
- Razer Naga Chroma
- 8BitDo Pro 2
Desktop:
install.txt
Laptop:
install-laptop.txt
Update
Instead of using linux
/ linux-headers
, I prefer to manually select and install the kernel:
- Find the latest lts kernel: https://kernel.org/
- Make sure zfs supports said kernel: https://github.com/openzfs/zfs/blob/master/META
- Compare against:
zfs --version
Install the new kernel with:
xbps-install -yu linux6.12 linux6.12-headers
Remove the previous kernel with:
xbps-remove -yu linux6.6 linux6.6-headers
Generate the ZFSBootMenu EFI image with:
generate-zbm
Upgrade the zpool with:
zpool upgrade <pool>
If you have multiple kernels installed, you can set the default with:
zfs set org.zfsbootmenu:kernel=6.6 <pool>
zfs inherit org.zfsbootmenu:kernel <pool> # unset
You can prevent the zpool from being upgraded with:
find /usr/share/zfs/compatibility.d
zpool set compatibility=openzfs-2.2 <pool>
zpool set compatibility=off <pool> # unset
Or, you could prevent zfs
from being updated with:
xbps-pkgdb -m hold zfs libzfs
xbps-pkgdb -m unhold zfs libzfs # unset
More
If you have multiple root datasets, I recommend keeping the following directories synced together:
/etc/ssh
/etc/wireguard
/var/lib/bluetooth
/var/lib/iwd
Uncomment any laptop related keybindings:
~/.config/sway/config
Bump up the font size:
~/.config/alacritty/alacritty.toml : 16
~/.config/waybar/config : 40 # height
~/.config/waybar/style.css : 18
~/.config/waybar/style.css : margin: 0 5px; # spacing
about:config : layout.css.devPixelsPerPx = 1.25 # firefox
Or, bump up the scale instead (not recommended):
output eDP-1 scale 1.25
Note: Many applications can be zoomed in using CTRL +
Install the following packages (not included in the default repository):
xbps-restricted spotify
xbps-restricted msttcorefonts # laptop
xbps-install -yu spotify-adblock
xbps-install -yu Signal-Desktop # does not support musl
git clone https://gitlab.com/camj/firefox-overlay
cd firefox-overlay
make
make install
about:config
:
browser.sessionstore.resume_from_crash = false
browser.tabs.tabmanager.enabled = false
gfx.webrender.all = true
media.ffmpeg.vaapi.enabled = true
mousewheel.default.delta_multiplier_y = 80
privacy.firstparty.isolate = true
toolkit.legacyUserProfileCustomizations.stylesheets = true
toolkit.tabbox.switchByScrolling = true
network.dnsCacheEntries = 0
network.dnsCacheExpiration = 0
network.dnsCacheExpirationGracePeriod = 0
~/.mozilla/firefox/<profile>/chrome/userChrome.css
:
* {
border-radius: 0 !important;
}
.tabbrowser-tab .tab-close-button {
visibility: collapse !important;
}
.titlebar-buttonbox-container {
display: none !important;
}
.titlebar-spacer[type="pre-tabs"] {
display: none !important;
}
.titlebar-spacer[type="post-tabs"] {
display: none !important;
}
#alltabs-button {
display: none !important;
}
:root[tabsintitlebar] .browser-titlebar {
will-change: unset !important;
transition: none !important;
&:-moz-window-inactive {
opacity: 1 !important;
}
}
Note: Use CTRL + W
or the mouse scroll wheel to close tabs
- ClearURLs
- Dark Reader (Note: Toggle with
Alt + Shift + A
) - I don't care about cookies
- Privacy Badger
- Return YouTube Dislike
- SponsorBlock for YouTube - Skip Sponsorships
- h264ify
- uBlock Origin
Google:
google.com##.hdzaWe
Agar.io:
agar.io##[id^="agar-io_"]
agar.io##html:style(--bottom-banner-height: 0 !important;)
Add the following bookmarks:
/home/cameron/Documents (Documents)
/home/cameron/Downloads (Downloads)
/home/cameron/Music (Music)
/home/cameron/Pictures (Pictures)
/home/cameron/Videos (Videos)
/storage (Storage)
/tmp (Temp)
https://github.com/sainnhe/gruvbox-material
https://github.com/TheGreatMcPain/gruvbox-material-gtk
gsettings set org.gnome.desktop.interface gtk-theme Gruvbox-Material-Dark
gsettings set org.gnome.desktop.interface icon-theme Gruvbox-Material-Dark
gsettings set org.gnome.desktop.interface cursor-theme Adwaita
gsettings set org.gnome.desktop.privacy remember-recent-files false
xdg-settings set default-web-browser firefox.desktop
xdg-mime default firefox.desktop application/pdf
xdg-mime default code-oss.desktop text/plain
xdg-mime default vlc.desktop video/mp4
xdg-mime default vlc.desktop video/x-matroska
xdg-mime default vlc.desktop video/quicktime
xdg-mime default vlc.desktop audio/mpeg
xdg-mime default vlc.desktop audio/x-wav
xdg-mime default feh.desktop image/png
xdg-mime default feh.desktop image/jpeg
xdg-mime default org.gnome.eog.desktop image/gif
xdg-mime default org.gnome.eog.desktop image/webp
/var/lib/iwd/<ssid>.psk
:
[Security]
Passphrase=<password>
Manual
[Security]
Passphrase=<password>
[Settings]
AutoConnect=false
You can generate the preshared key with wpa_passphrase
:
[Security]
PreSharedKey=<key>
/etc/wireguard/wg0.conf
/etc/resolv.conf
https://wiki.archlinux.org/title/Bluetooth
scan on
devices
pair <dev>
trust <dev>
connect <dev>
scan off
https://wiki.archlinux.org/title/CUPS
https://wiki.archlinux.org/title/SANE
Main:
xbps-install -yu \
cups \
cups-filters \
system-config-printer \
simple-scan
Drivers:
xbps-install -yu \
brother-brlaser \
cnijfilter2 \
epson-inkjet-printer-escpr \
foomatic-db \
foomatic-db-nonfree \
gutenprint \
hplip
# install one, or all; not required if printer supports ipp-everywhere
User:
usermod -a -G lpadmin <user>
/etc/cups/cupsd.conf
:
LogLevel none
PreserveJobFiles No
PreserveJobHistory No
/etc/hosts
:
<ip_address> printer
Enable:
ln -s /etc/sv/cupsd /var/service/
system-config-printer
More
Flush the ruleset if printer network discovery is not working:
nft flush ruleset
http://localhost:631 -> Administration -> Add Printer -> LPD/LPR Host or Printer -> lpd://printer/queue
-> Brother -> Brother MFC-7365DN
xbps-install -yu brother-brscan4
brsaneconfig4 -a name=Brother model=MFC-7860DW nodename=printer
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
https://github.com/camj2/written
curl -s -o /etc/udev/rules.d/51-trezor.rules https://data.trezor.io/udev/51-trezor.rules
MIT