From 4912209b4a102e503062e070df1d29a29b2a93a6 Mon Sep 17 00:00:00 2001 From: Alex Kotov Date: Thu, 6 Jul 2023 18:02:02 +0400 Subject: [PATCH] Configure Gentoo --- common/etc/fish/conf.d/rvm.fish | 2 +- files.sh | 1 + gentoo/etc/pam.d/lightdm | 9 +++++++++ gentoo/etc/portage/make.conf | 2 +- gentoo/etc/portage/package.env/ccache | 29 ++++++++++++++------------- gentoo/var/lib/portage/world | 8 +++++++- 6 files changed, 34 insertions(+), 17 deletions(-) create mode 100644 gentoo/etc/pam.d/lightdm diff --git a/common/etc/fish/conf.d/rvm.fish b/common/etc/fish/conf.d/rvm.fish index 5f81197..b607ab2 100644 --- a/common/etc/fish/conf.d/rvm.fish +++ b/common/etc/fish/conf.d/rvm.fish @@ -1,3 +1,3 @@ if which rvm >/dev/null 2>&1 - rvm current + rvm current >/dev/null 2>&1 end diff --git a/files.sh b/files.sh index 92b6439..688c5b0 100644 --- a/files.sh +++ b/files.sh @@ -22,6 +22,7 @@ install_file root root 644 '/etc/conf.d/display-manager' gentoo install_file root root 644 '/etc/default/grub' gentoo install_file root root 644 '/etc/env.d/70less' gentoo install_file root root 644 '/etc/env.d/90xsession' gentoo +install_file root root 644 '/etc/pam.d/lightdm' gentoo install_file root portage 644 '/var/lib/portage/world' gentoo echo install_dir root root 755 '/etc/portage/env' diff --git a/gentoo/etc/pam.d/lightdm b/gentoo/etc/pam.d/lightdm new file mode 100644 index 0000000..99bc79c --- /dev/null +++ b/gentoo/etc/pam.d/lightdm @@ -0,0 +1,9 @@ +auth substack system-local-login +auth optional pam_gnome_keyring.so + +account substack system-local-login + +password substack system-local-login + +session substack system-local-login +session optional pam_gnome_keyring.so auto_start diff --git a/gentoo/etc/portage/make.conf b/gentoo/etc/portage/make.conf index 34b5c7f..4f789d2 100644 --- a/gentoo/etc/portage/make.conf +++ b/gentoo/etc/portage/make.conf @@ -1,4 +1,4 @@ -USE="dist-kernel vaapi vdpau xinerama" +USE="dist-kernel gnome-keyring vaapi vdpau xinerama" COMMON_FLAGS="-pipe -O2 -march=native -mtune=native" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt rdrand sse sse2 sse3 sse4_1 sse4_2 ssse3" diff --git a/gentoo/etc/portage/package.env/ccache b/gentoo/etc/portage/package.env/ccache index dbfa2b8..66950a1 100644 --- a/gentoo/etc/portage/package.env/ccache +++ b/gentoo/etc/portage/package.env/ccache @@ -1,14 +1,15 @@ -dev-lang/spidermonkey ccache.conf -dev-qt/qtdeclarative ccache.conf -dev-util/cmake ccache.conf -mail-client/thunderbird ccache.conf -media-libs/mesa ccache.conf -media-video/ffmpeg ccache.conf -#net-im/telegram-desktop ccache.conf # does not work -net-libs/nodejs ccache.conf -sys-devel/clang ccache.conf -sys-devel/llvm ccache.conf -sys-libs/glibc ccache.conf -www-client/chromium ccache.conf -www-client/firefox ccache.conf -x11-libs/gtk+ ccache.conf +app-emulation/virtualbox ccache.conf +dev-lang/spidermonkey ccache.conf +dev-util/cmake ccache.conf +mail-client/thunderbird ccache.conf +media-gfx/gimp ccache.conf +media-libs/mesa ccache.conf +media-video/ffmpeg ccache.conf +#net-im/telegram-desktop ccache.conf # does not work +net-libs/nodejs ccache.conf +sys-devel/clang ccache.conf +sys-devel/llvm ccache.conf +sys-libs/glibc ccache.conf +www-client/chromium ccache.conf +www-client/firefox ccache.conf +x11-libs/gtk+ ccache.conf diff --git a/gentoo/var/lib/portage/world b/gentoo/var/lib/portage/world index e5dc6f7..8c93508 100644 --- a/gentoo/var/lib/portage/world +++ b/gentoo/var/lib/portage/world @@ -4,6 +4,9 @@ app-admin/sudo app-admin/sysklogd app-arch/unzip app-arch/zip +app-containers/docker +app-containers/docker-cli +app-containers/docker-compose app-crypt/gnupg app-editors/nano app-editors/vim @@ -29,10 +32,12 @@ dev-vcs/git dev-vcs/git-lfs games-action/minecraft-launcher games-misc/cowsay +gnome-base/gnome-keyring mail-client/thunderbird mate-base/mate media-fonts/font-bh-ttf media-fonts/fonts-meta +media-gfx/gimp media-gfx/gnome-screenshot media-gfx/imagemagick media-libs/exiftool @@ -40,9 +45,10 @@ media-video/ffmpeg media-video/libva-utils media-video/obs-studio media-video/vlc +net-dns/bind-tools net-im/element-desktop-bin -net-im/pidgin net-im/telegram-desktop +net-irc/hexchat net-libs/nodejs net-misc/chrony net-misc/curl