2026-02-05 18:05:06 -05:00

56 lines
1.5 KiB
Plaintext

# make.conf for Legion S7 15ACH6
# AMD Ryzen 9 5900HX with Radeon Graphics (16) @ 4.683GHz
# AMD ATI Radeon Vega Series / Radeon Vega Mobile Series
# NVIDIA GeForce RTX 3050 Ti Mobile / Max-Q
# Compiler Settings
COMMON_FLAGS="-march=znver3 -O2 -pipe"
CFLAGS="${COMMON_FLAGS}"
CXXFLAGS="${COMMON_FLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
CHOST="x86_64-pc-linux-gnu"
# Build Settings
MAKEOPTS="-j16 -l14"
EMERGE_DEFAULT_OPTS="--jobs=2 --load-average=14 --autounmask-write"
# Mirrors and Boot
GENTOO_MIRRORS="https://mirrors.rit.edu/gentoo/ https://gentoo.osuosl.org/"
GRUB_PLATFORMS="efi-64"
# Portage Features
FEATURES="ccache parallel-fetch candy"
CCACHE_DIR="/var/cache/ccache"
# Cleaner build output
LC_MESSAGES=C
# Hardware
VIDEO_CARDS="amdgpu nvidia"
INPUT_DEVICES="libinput"
# USE Flags - Optimized for Hyprland Desktop
# Core system
USE="btrfs wayland X opengl vulkan egl gbm"
# Graphics - hybrid AMD iGPU + NVIDIA dGPU
USE="${USE} nvidia amdgpu opencl vaapi"
# Audio - PipeWire only
USE="${USE} pipewire alsa"
# Network and connectivity
USE="${USE} networkmanager bluetooth wifi"
# Desktop environment essentials
USE="${USE} udisks cups nls threads ssl crypt zstd"
# GUI toolkits and libraries
USE="${USE} gtk qt5 qt6 ffmpeg webp libnotify harfbuzz icu"
# Wayland/Hyprland specific
USE="${USE} screencast udev"
# Kernel
USE="${USE} dist-kernel"
# Firmware (explicit for linux-firmware)
USE="${USE} redistributable"
# License Acceptance
ACCEPT_LICENSE="linux-fw-redistributable all-rights-reserved NVIDIA-* ValveSteamLicense BUSL-1.1"