Moved client setup from core-system repository to roles

This commit is contained in:
Kevin Veen-Birkenbach 2022-08-18 13:49:31 +02:00
parent ee513f4844
commit 25946e6925
6 changed files with 30 additions and 8 deletions

View File

@ -5,6 +5,13 @@
- native-pacman-update
- native-general
- native-administrator
- native-caffeine
- native-non-free-drivers
- name: GNOME setup
hosts: gnome_hosts
become: true
roles:
- native-gnome
- name: setup gaming hosts
hosts: gaming_hosts
become: true
@ -25,11 +32,6 @@
become: true
roles:
- native-libreoffice
- name: setup gnome-clients
hosts: gnome_clients
become: true
roles:
- native-gnome
- name: setup nextcloud-client
hosts: nextcloud_client_hosts
become: true

View File

@ -0,0 +1,2 @@
dependencies:
- native-aur-helper

View File

@ -0,0 +1,5 @@
- name: Install caffeine
kewlfft.aur.aur:
use: yay
name:
- caffeine-ng

View File

@ -0,0 +1,3 @@
# native-gnome
## further information
- https://askubuntu.com/questions/1029376/how-do-i-enable-and-disable-gnome-extensions-from-the-command-line

View File

@ -1,7 +1,15 @@
- name: Install docker
- name: Install Gnome Software
community.general.pacman:
name:
- gnome-shell-extensions
- gnome-shell-extension-desktop-icons-ng
- gnome-terminal
- intltool # Needed for extension make
state: present
- name: GNOME Activate Extensions
ansible.builtin.shell: gsettings set org.gnome.shell disable-user-extensions false
become: false
- name: GNOME Set favorite apps
ansible.builtin.shell: gsettings set org.gnome.shell favorite-apps "{{favorite_apps}}"
become: false

View File

@ -0,0 +1,2 @@
- name: Install nonfree drivers
ansible.builtin.shell: mhwd -a pci nonfree 0300