User:Nathanlkoch/GentooConfigs

From Gentoo Wiki
Jump to:navigation Jump to:search

Gentoo Configurations

Portage

make.conf

FILE /etc/portage/make.conf
# These settings were set by the catalyst build script that automatically
# built this stage.
# Please consult /usr/share/portage/config/make.conf.example for a more
# detailed example.

##Architecture Specific
#PROC
COMMON_FLAGS="-march=nehalem -mtune=nehalem --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=8192 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CFLAGS="-march=nehalem -mtune=nehalem --param l1-cache-line-size=64 --param l1-cache-size=32 --param l2-cache-size=8192 -O2 -pipe"
CXXFLAGS="${CFLAGS}"
FCFLAGS="${COMMON_FLAGS}"
FFLAGS="${COMMON_FLAGS}"
##CORES
MAKEOPTS="-j26 -l17"
##INSTRUCTIONS
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4 sse4_1 sse4_2 ssse3"

## Distcc
FEATURES="distcc ${FEATURES} -network-sandbox ccache"
CCACHE_DIR="/var/cache/ccache"

##
#GRUB Bootloader
GRUB_PLATFORMS="pc"

## NOTE: This stage was built with the bindist Use flag enabled
PORTDIR="/var/db/repos/gentoo"
DISTDIR="/var/cache/distfiles"
PKGDIR="/var/cache/binpkgs"

## Ebuilds and Overlays
PORTDIR_OVERLAY='/usr/local/portage/'

## This sets the language of build output to English.
# Please keep this setting intact when reporting bugs.
LC_MESSAGES=C

## Mirror
GENTOO_MIRRORS="https://mirrors.rit.edu/gentoo/"

## Licenses
ACCEPT_LICENSE="* linux-firmware unknown-license @GPL-COMPATIBLE @FSF-APPROVED @OSI-APPROVED @MISC-FREE @FREE-SOFTWARE @FSF-APPROVED @MISC-FREE-DOCS @FREE-DOCUMENTS @FREE @BINARY-REDISTRIBUTABLE @EULA"

## Keywords
ACCEPT_KEYWORDS="~amd64"
#UNITY_GLOBAL_KEYWORD_UNMASK=yes
## Input
INPUT_DEVICES="evdev libinput keyboard mouse"

## EMERGE USE LIST

USE="uniput ssl numa python_single_target_python3_7 -tools X a52 aac acl acpi alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli colord crypt cups dbus dri dts dvd dvdr eds elogind emboss encode evo exif flac fortran gdbm gif gnome gnome-keyring gnome-online-accounts gpm gstreamer gtk gui iconv icu introspection ipv6 jpeg lcms libinput libglvnd libnotify libsecret libtirpc mad mng mp3 mp4 mpeg multilib nautilus ncurses networkmanager nls nptl ogg opengl openmp pam pango pcre pdf png policykit ppds pulseaudio qt5 readline samba sdl seccomp spell split-usr ssl startup-notification svg sysprof tcpd tiff tracker truetype udev udisks unicode upower usb vorbis wayland wxwidgets x264 xattr xcb xml xv xvid zlib" 

ABI_X86="64" 
ADA_TARGET="gnat_2018" 
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 
APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" 
CALLIGRA_FEATURES="karbon sheets words" 
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 
CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4 sse4_1 sse4_2 ssse3" 
ELIBC="glibc" 
GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" 
GRUB_PLATFORMS="pc"  
KERNEL="linux" 
LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" 
LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" 
LUA_SINGLE_TARGET=" luajit lua5-1" 
LUA_TARGETS="luajit lia5-1 lua5-2"
OFFICE_IMPLEMENTATION="libreoffice" 
PHP_TARGETS="php7-3 php7-4" 
POSTGRES_TARGETS="postgres10 postgres11" 
PYTHON_SINGLE_TARGET="python3_7" 
PYTHON_TARGETS="python3_8 python3_7 python3_9" 
RUBY_TARGETS="ruby26" 
USERLAND="GNU" 
VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 
XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"


#### QEMU
#QEMU_SOFTMMU_TARGETS="x86_64 aarch64 -alpha -arm -avr -cris -hppa i386 -lm32 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -moxie -nios2 -or1k ppc ppc64 riscv32 riscv64 -rx -s390x -sh4 -sh4eb sparc sparc64 -tricore -unicore32 -xtensa -xtensaeb"
#QEMU_USER_TARGETS="aarch64 -aarch64_be -alpha arm -armeb -cris hppa i386 -m68k -microblaze -microblazeel -mips -mips64 -mips64el -mipsel -mipsn32 -mipsn32el -nios2 -or1k ppc ppc64 -ppc64abi32 -ppc64le riscv32 riscv64 -s390x -sh4 -sh4eb sparc -sparc32plus sparc64 -tilegx x86_64 -xtensa -xtensaeb"

System

Issue

FILE /etc/issue
███████╗██████╗  █████╗  ██████╗███████╗
██╔════╝██╔══██╗██╔══██╗██╔════╝██╔════╝
███████╗██████╔╝███████║██║     █████╗  
╚════██║██╔═══╝ ██╔══██║██║     ██╔══╝  
███████║██║     ██║  ██║╚██████╗███████╗
╚══════╝╚═╝     ╚═╝  ╚═╝ ╚═════╝╚══════╝

[\s \m \r] \t
This is	\n on Gentoo 17.1 Desktop.
Eth0 [\4{enp6s0}] [\6{enp6s0}]

TTY - Bash Theme

Gentoo Dracula - Purple Console Bash Theme

Looks so perdy. Apply to root and user.

https://draculatheme.com/tty

Add to .bashrc

FILE .bashrc
##FANCY
if [ "$TERM" = "linux" ]; then
	printf %b '\e[40m' '\e[8]' # set default background to color 0 'dracula-bg'
	printf %b '\e[37m' '\e[8]' # set default foreground to color 7 'dracula-fg'
	printf %b '\e]P0282a36'    # redefine 'black'          as 'dracula-bg'
	printf %b '\e]P86272a4'    # redefine 'bright-black'   as 'dracula-comment'
	printf %b '\e]P1ff5555'    # redefine 'red'            as 'dracula-red'
	printf %b '\e]P9ff7777'    # redefine 'bright-red'     as '#ff7777'
	printf %b '\e]P250fa7b'    # redefine 'green'          as 'dracula-green'
	printf %b '\e]PA70fa9b'    # redefine 'bright-green'   as '#70fa9b'
	printf %b '\e]P3f1fa8c'    # redefine 'brown'          as 'dracula-yellow'
	printf %b '\e]PBffb86c'    # redefine 'bright-brown'   as 'dracula-orange'
	printf %b '\e]P4bd93f9'    # redefine 'blue'           as 'dracula-purple'
	printf %b '\e]PCcfa9ff'    # redefine 'bright-blue'    as '#cfa9ff'
	printf %b '\e]P5ff79c6'    # redefine 'magenta'        as 'dracula-pink'
	printf %b '\e]PDff88e8'    # redefine 'bright-magenta' as '#ff88e8'
	printf %b '\e]P68be9fd'    # redefine 'cyan'           as 'dracula-cyan'
	printf %b '\e]PE97e2ff'    # redefine 'bright-cyan'    as '#97e2ff'
	printf %b '\e]P7f8f8f2'    # redefine 'white'          as 'dracula-fg'
	printf %b '\e]PFffffff'    # redefine 'bright-white'   as '#ffffff'
	clear
fi