summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorAnton Luka Šijanec <anton@sijanec.eu>2023-05-17 22:44:45 +0200
committerAnton Luka Šijanec <anton@sijanec.eu>2023-05-17 22:44:45 +0200
commitcddb1796395408b980f267a1ff40788c39bdfc9a (patch)
tree5952f7a307fd5f12da453c4748e4dfcc1e0d4b25 /etc
parentpackage.use (diff)
downloadn-cddb1796395408b980f267a1ff40788c39bdfc9a.tar
n-cddb1796395408b980f267a1ff40788c39bdfc9a.tar.gz
n-cddb1796395408b980f267a1ff40788c39bdfc9a.tar.bz2
n-cddb1796395408b980f267a1ff40788c39bdfc9a.tar.lz
n-cddb1796395408b980f267a1ff40788c39bdfc9a.tar.xz
n-cddb1796395408b980f267a1ff40788c39bdfc9a.tar.zst
n-cddb1796395408b980f267a1ff40788c39bdfc9a.zip
Diffstat (limited to 'etc')
-rw-r--r--etc/dracut.conf.d/anton.conf1
-rw-r--r--etc/portage/make.conf7
-rw-r--r--etc/portage/package.use/conf2
3 files changed, 6 insertions, 4 deletions
diff --git a/etc/dracut.conf.d/anton.conf b/etc/dracut.conf.d/anton.conf
new file mode 100644
index 0000000..f4bfd29
--- /dev/null
+++ b/etc/dracut.conf.d/anton.conf
@@ -0,0 +1 @@
+install_items="/lib/firmware/regulatory.db /lib/firmware/regulatory.db.p7s /lib/firmware/i915/tgl_dmc_ver2_12.bin /lib/firmware/intel/ibt-19-0-4.sfi /lib/firmware/intel/ibt-19-0-4.ddc /lib/firmware/iwlwifi-QuZ-a0-hr-b0-72.ucode"
diff --git a/etc/portage/make.conf b/etc/portage/make.conf
index 640f85d..95c6b08 100644
--- a/etc/portage/make.conf
+++ b/etc/portage/make.conf
@@ -1,6 +1,7 @@
+VIDEO_CARDS="intel"
CONFIG_PROTECT_MASK="/etc/portage/package.use/zz-autounmask"
PORTAGE_SCHEDULING_POLICY="idle"
-COMMON_FLAGS="-ggdb3 -O2 -pipe -march=core2 -mcx16 -mfxsr -mmmx -msahf -msse -msse2 -msse3 -mssse3 --param=l1-cache-line-size=64 --param=l1-cache-size=32" # intersection of varovalka and b
+COMMON_FLAGS="-ggdb3 -O2 -pipe $([ `hostname` = c ] && echo -march=native || echo -march=core2 -mcx16 -mfxsr -mmmx -msahf -msse -msse2 -msse3 -mssse3 --param=l1-cache-line-size=64 --param=l1-cache-size=32)" # intersection of varovalka and b
CFLAGS="${COMMON_FLAGS} -DALLOW_RUN_AS_ROOT" # VLC
CXXFLAGS="${COMMON_FLAGS} -DOLAD_SKIP_ROOT_CHECK"
FCFLAGS="${COMMON_FLAGS}"
@@ -14,7 +15,7 @@ PKGDIR="/var/cache/binpkgs"
LC_MESSAGES=C
# I only have one machine in distcc hosts ATM
-MAKEOPTS="-j$(ssh `cat /etc/distcc/hosts | grep -v '#' | cut -d/ -f1` nproc || nproc) -l$(nproc)"
+MAKEOPTS="-j$([ `hostname` != c ] && ssh `cat /etc/distcc/hosts | grep -v '#' | cut -d/ -f1` nproc || nproc) -l$(nproc)"
GENTOO_MIRRORS="http://ftp.fi.muni.cz/pub/linux/gentoo/ http://packages.hs-regensburg.de/gentoo-distfiles/ http://linux.rz.ruhr-uni-bochum.de/download/gentoo-mirror/ http://ftp.halifax.rwth-aachen.de/gentoo/ http://ftp.tu-ilmenau.de/mirror/gentoo/ http://ftp.fau.de/gentoo http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://ftp.ntua.gr/pub/linux/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo"
# mirrorselect -i -o >> /etc/portage/make.conf
@@ -74,7 +75,7 @@ SIGNED_OFF_BY="Anton Luka Šijanec <anton@sijanec.eu>"
L10N="sl en de hr si"
-FEATURES="nostrip distcc getbinpkg buildpkg"
+FEATURES="nostrip $([ `hostname` != c ] && echo distcc getbinpkg buildpkg)"
PHP_TARGETS="php8-1"
BINPKG_FORMAT="gpkg"
INPUT_DEVICES="wacom libinput"
diff --git a/etc/portage/package.use/conf b/etc/portage/package.use/conf
index 4ae4986..20c77e5 100644
--- a/etc/portage/package.use/conf
+++ b/etc/portage/package.use/conf
@@ -1,5 +1,5 @@
# media-libs/libsndfile minimal
-media-libs/opencv contrib
+media-libs/opencv contrib -examples
# media-sound/mpg123 -pulseaudio
# media-libs/libsdl2 -pulseaudio
media-libs/opencolorio -opengl