More Gentoo tweaking
This commit is contained in:
parent
775bbeff5f
commit
7824679f2e
@ -8,7 +8,7 @@
|
||||
#
|
||||
|
||||
# USE
|
||||
USE="curl ffmpeg gstreamer networkmanager pulseaudio systemd vulkan webp xinerama -elogind -test"
|
||||
USE="curl ffmpeg gnome-keyring gstreamer networkmanager opus pulseaudio systemd vulkan webp xinerama -elogind -test"
|
||||
#ansible:use
|
||||
|
||||
# Compilation configuration
|
||||
@ -24,7 +24,7 @@ ACCEPT_LICENSE="*"
|
||||
EMERGE_DEFAULT_OPTS="--jobs 10"
|
||||
FEATURES="-network-sandbox"
|
||||
GENTOO_MIRRORS="http://distfiles.gentoo.org"
|
||||
VIDEO_CARDS="i915 amdgpu qxl radeon"
|
||||
VIDEO_CARDS="amdgpu i915 intel qxl radeon"
|
||||
|
||||
# Package configuration
|
||||
GRUB_PLATFORMS="emu efi-32 efi-64 pc"
|
||||
|
@ -1 +1,6 @@
|
||||
games-util/game-device-udev-rules ~amd64
|
||||
games-util/lutris ~amd64
|
||||
games-util/steam-client-meta ~amd64
|
||||
games-util/steam-games-meta ~amd64
|
||||
games-util/steam-launcher ~amd64
|
||||
games-util/steam-meta ~amd64
|
||||
|
@ -1 +1,2 @@
|
||||
dev-lang/python -bluetooth -sqlite
|
||||
dev-lang/mono minimal
|
||||
dev-lang/python -bluetooth
|
||||
|
2
roles/desktop/files/portage/package.use/dev-qt
Normal file
2
roles/desktop/files/portage/package.use/dev-qt
Normal file
@ -0,0 +1,2 @@
|
||||
dev-qt/qtwebchannel qml
|
||||
dev-qt/qtwebengine widgets
|
@ -1 +1,3 @@
|
||||
media-libs/mesa d3d9 vulkan
|
||||
media-libs/libsdl2 haptic
|
||||
media-libs/libvpx postproc
|
||||
media-libs/mesa vulkan
|
||||
|
1
roles/desktop/files/portage/package.use/net-dns
Normal file
1
roles/desktop/files/portage/package.use/net-dns
Normal file
@ -0,0 +1 @@
|
||||
net-dns/dnsmasq script
|
1
roles/desktop/files/portage/package.use/net-libs
Normal file
1
roles/desktop/files/portage/package.use/net-libs
Normal file
@ -0,0 +1 @@
|
||||
net-libs/nodejs inspector
|
@ -1 +1,2 @@
|
||||
net-misc/networkmanager dhclient
|
||||
net-misc/spice-gtk usbredir
|
||||
|
@ -1 +1,2 @@
|
||||
sys-libs/ncurses -gpm
|
||||
sys-libs/zlib minizip
|
||||
|
@ -67,7 +67,6 @@ media-video/mpv
|
||||
|
||||
net-im/element-desktop-bin
|
||||
net-im/slack
|
||||
net-im/telegram-desktop
|
||||
net-misc/nextcloud-client
|
||||
net-p2p/qbittorrent-4.2.5-r2
|
||||
|
||||
|
@ -52,7 +52,9 @@
|
||||
synchronize: src="portage/" dest="/etc/portage/"
|
||||
# This is my bootstrap script, which can cause damage if invoked by root again, so we remove it
|
||||
- name: remove gentoostrap
|
||||
file: path="/gentoostrap.sh" state=absent
|
||||
file: path=/gentoostrap.sh state=absent
|
||||
- name: remove gentoostrap package.use
|
||||
file: path=/etc/portage/package.use/gentoostrap state=absent
|
||||
when: ansible_os_family == "Gentoo"
|
||||
- name: configure pip3 packages
|
||||
pip: executable=/usr/bin/pip3 state=latest name="{{ desktop_pip3_packages + desktop_pip3_packages_extra }}"
|
||||
|
30
site.yml
30
site.yml
@ -10,6 +10,36 @@
|
||||
- role: ansible-pull
|
||||
become: yes
|
||||
tags: [ ansible, common ]
|
||||
- hosts: gentoo
|
||||
post_tasks:
|
||||
- name: confirm liblzo2 dllmap
|
||||
lineinfile:
|
||||
path: /etc/mono/config
|
||||
insertafter: "<configuration>"
|
||||
line: '<dllmap dll="lzo2.dll" target="liblzo2.so.2" os="!windows"/>'
|
||||
become: yes
|
||||
tags: [ desktop, mono ]
|
||||
- name: give python3 cap_sys_ptrace
|
||||
capabilities:
|
||||
path: /usr/bin/python3.8
|
||||
# Required for Randovania to access Dolphin memory
|
||||
capability: cap_sys_ptrace+eip
|
||||
become: yes
|
||||
tags: [ desktop, python, cap ]
|
||||
roles:
|
||||
- role: desktop
|
||||
become: yes
|
||||
tags: [ desktop ]
|
||||
- role: grub
|
||||
become: yes
|
||||
tags: [ desktop, grub ]
|
||||
- role: udev
|
||||
vars:
|
||||
udev_rules:
|
||||
# Switch RCM stuff
|
||||
- SUBSYSTEM=="usb", ATTR{idVendor}=="0955", MODE="0664", GROUP="plugdev"
|
||||
become: yes
|
||||
tags: [ desktop, udev ]
|
||||
# Home desktops
|
||||
- hosts: desktop
|
||||
post_tasks:
|
||||
|
Loading…
Reference in New Issue
Block a user