Skip to content

francoism90/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

This is a selection of settings and preferences for my OpenSUSE Aeon Desktop installation.

In most cases the given instructions should also work on MicroOS and Tumbleweed.

Drivers

Kernel

If you want to run the latest kernel, see https://kernel.opensuse.org/master.html for details:

sudo zypper addrepo https://download.opensuse.org/repositories/Kernel:HEAD/standard/Kernel:HEAD.repo
sudo zypper refresh
zypper lr

To install a version of the master branch:

sudo transactional-update -i pkg install kernel-default-6.14~rc3 kernel-default-devel-6.14~rc3
systemctl reboot

NVIDIA

See the OpenSUSE Wiki for details:

You may get conflicts, it seems to work fine when you choose to ignore the missing library or package.

On Aeon you may need to remove the --root-pw option for the mokutil --import command, and give a password manually instead.

To built the latest drivers on the master kernel, see https://forums.developer.nvidia.com/t/570-release-feedback-discussion/321956/70?page=3:

sudo transactional-update shell
cd /usr/src/kernel-modules/nvidia-570.86.16-default
<patch>
exit

It's important to reboot first, afterwards reinstall the master kernel (see instructions above).

Maintenance

Filesystem

Trim

Enable the fstrim when using a SSD/NVme-device timer:

sudo systemctl enable fstrim.timer --now

Encryption

If you are using encryption on a NVMe/SSD, you may want to improve performance by disabling the workqueue and allowing discards:

sudo cryptsetup --perf-no_read_workqueue --perf-no_write_workqueue --allow-discards --persistent refresh aeon_root

See https://wiki.archlinux.org/title/Dm-crypt/Specialties#Disable_workqueue_for_increased_solid_state_drive_(SSD)_performance for details.

Btrfs

If you are using Btrfs, you may want to configure https://github.com/kdave/btrfsmaintenance:

sudo nano /etc/sysconfig/btrfsmaintenance

Enable the timers:

sudo systemctl enable btrfs-balance.timer btrfs-defrag.timer btrfs-scrub.timer btrfs-trim.timer --now

zram

To enable zwramswap:

sudo systemctl enable zramswap.service --now

Software

It is discourage to install software on the root filesystem, see the Aeon Wiki for details:

Brave

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.

Podman

Enable and use rootless containers:

To learn more about Podman Quadlet, the following resources may be useful:

To enable linger, e.g. keep containers running when logged out:

loginctl enable-linger $USER

Firewall

Aeon doesn't come with any firewall. Instead you should control ports and services using Podman Quadlet and containers.

It's still possible to install firewalld, but this may cause Flatpak and container network issues.

VSCodium / VSCode

See the following guides:

You may want to use Flatseal to set the following overwrites:

  • Add to Other files: xdg-run/podman:ro
  • Add to Other files: /tmp:rw

Wayland

To enable Wayland support:

flatpak override --user --socket=wayland --socket=fallback-x11 --env=ELECTRON_OZONE_PLATFORM_HINT=auto com.visualstudio.code

See flathub/com.visualstudio.code#471 for details.

Ptyxis (Terminal)

To apply opacity (credits):

dconf read /org/gnome/Ptyxis/default-profile-uuid
dconf write /org/gnome/Ptyxis/Profiles/{profile-uuid}/opacity 0.95

Fish

Install fish in the OpenSUSE distrobox container:

sudo zypper install fish ibm-plex-mono-fonts ibm-plex-sans-fonts ibm-plex-serif-fonts

To add fish path lookups:

fish_add_path  ~/.local/bin ~/.config/yarn/global/node_modules/.bin

To disable greeting (welcome message):

set -U fish_greeting

Follow https://starship.rs/guide/ to setup Starship.

Appearance

See https://itsfoss.com/flatpak-app-apply-theme/ instructions for Flatpak theming.

Use Refine to apply customization or dconf-editor - look up keys in /org/gnome/.

Current Theme

Icon Theme (GTK - non-root): https://github.com/PapirusDevelopmentTeam/papirus-icon-theme

Cursor Theme: https://github.com/phisch/phinger-cursors

Fonts: Inter + FiraCode Nerd Font

Releases

No releases published

Packages

No packages published

Languages