# be catalytic
COMMON_FLAGS="-O2 -pipe -march=native"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"

# be sensible 
LC_MESSAGES=C.UTF-8

# be fed
GENTOO_MIRRORS="http://mirrors.ircam.fr/pub/gentoo-distfiles/"

# be good
USE="-systemd elogind -gnome -kde -plasma -wayland -bluetooth -telemetry -AI -xscreensaver -webp -system-webp
X alsa xft jpeg
-opengl
-cups
-wpa -wireless -wifi -wext
savedconfig xdg consolekit ffmpeg opus wav wavpack ssl fbcon hscolour"

# be where
# i wanna change these ;)
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"
# world @ var/lib/portage/world" # just reminder... ;)
## [2025-01- 8 07:37:59] <Digit> /portage, /portage/world, /portage/distfiles/, /portage/db/, /portage/cache/, tmp/, and so on ...  i like this idea... but i'll sit on it a while before doing anything rash.
# PORTDIR="/portage/repos/gentoo"
# DISTDIR="/portage/distfiles"
# PKGDIR="/portage/binpkgs"
# ? ="/portage/world"
# ? ="/portage/cache"
# ? ="/portage/db"
# ? ="/portage/tmp"
# ? ="/portage/make.conf"
# ? ="/portage/use"
# ? ="/portage/accept"
# ? ="/portage/savedconfigs"
# ? ="/portage/patches"
# ? ="/portage/"
# ? ="/portage/" etc...   maybe.

# be fast
FEATURES="${FEATURES} getbinpkg binpkg-request-signature"
CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sha sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3"

# be secure  # copied from bkps/tysonstrata2025/gentoo25/etc/portage
BINPKG_GPG_SIGNING_GPG_HOME="/root/.gnupg" # oh hey, is that why binpkg did work before?
BINPKG_GPG_SIGNING_KEY="0x1234567890ABCDEF"

# be nice
##### error!  gotta figure out why portage seems ignore some of this stuff, eating up multiple cores and high load.
# be nice!  (ooh, can set load now too... -l2.  not just jobs.)
MAKEOPTS="-j2 -l2"
PORTAGE_NICENESS="19" #redundnt with scheduling set to idle  ... o rly?  i'm putting it back on.
PORTAGE_SCHEDULING_POLICY="idle"
#PORTAGE_IONICE_COMMAND="/usr/local/bin/io-priority \${PID}" #redundnt with scheduling set to idle
EMERGE_DEFAULT_OPTS="--jobs 2 --load-average 2.0"

# be heard
#LINGUAS="en en_GB en_US"
#L10N="en en-GB en-US"
LINGUAS="en en_GB"
L10N="en en-GB"

# be seen
VIDEO_CARDS="amdgpu radionsi"

# be savvy
CONFIG_PROTECT="protect-owned"

# be grubby
GRUB_PLATFORMS="efi-64"  # iunno if i need that.  heh.  devuan did my grub.

# be free
ACCEPT_LICENSE="-* @FREE MPEG-4 OFL-1.1"

# be fair
GENTOO_MIRRORS="http://212.110.163.13/gentoo/ \
    http://mirror.bytemark.co.uk/gentoo/ \
    http://mirrors.ircam.fr/pub/gentoo-distfiles/ \
    ftp://ftp.free.fr/mirrors/ftp.gentoo.org/ \
    http://gentoo.mirrors.ovh.net/gentoo-distfiles/"

# be wise to more things in older backups.

# be feely
INPUT_DEVICES="wacom libinput"

