-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
19 changed files
with
369 additions
and
25 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,73 @@ | ||
- hosts: all | ||
roles: | ||
- arch2disk | ||
- pipewire | ||
- gnome_shell | ||
- multimedia | ||
tasks: | ||
# These things would not make sense in separate roles... | ||
# Some not even in separate taskfiles... | ||
- include_tasks: tasks/wallpaper.yml | ||
- include_tasks: tasks/cups.yml | ||
tags: | ||
- cups | ||
- name: Install JRE (OpenJDK) | ||
# Install explicitely to prevent pacman from asking which java to install | ||
pacman: | ||
state: present | ||
name: jre-openjdk | ||
- name: Install applications | ||
aur: | ||
state: present | ||
use: pikaur | ||
name: | ||
- seahorse | ||
- qalculate-gtk | ||
- geogebra | ||
- evince | ||
- geany | ||
- geany-plugins | ||
- geany-themes | ||
- gnome-terminal | ||
- glances | ||
- firefox | ||
- firefox-ublock-origin | ||
- gimp | ||
- gimp-plugin-gmic | ||
- libreoffice-fresh | ||
- libreoffice-extension-languagetool | ||
- hunspell | ||
- hyphen | ||
- libmythes | ||
tags: | ||
- applications | ||
- include_tasks: tasks/kara.yml | ||
tags: | ||
- kara | ||
- applications | ||
- name: Find out language if not set | ||
set_fact: | ||
locales: | ||
- "{{ lookup('env', 'LANG') }}" | ||
when: locales|default('', true)|length == 0 | ||
tags: | ||
- language_packages | ||
- applications | ||
- name: Install language packages | ||
include_tasks: | ||
file: tasks/try-install.yml | ||
apply: | ||
tags: | ||
- language_packages | ||
vars: | ||
lang: "{{ locales[0].split('_')[0] }}" | ||
loop: | ||
- "firefox-i18n-{{ lang }}" | ||
- "libreoffice-fresh-{{ lang }}" | ||
- "hunspell-{{ lang }}" | ||
- "hyphen-{{ lang }}" | ||
- "mythes-{{ lang }}" | ||
- "gimp-help-{{ lang }}" | ||
tags: | ||
- language_packages | ||
- applications |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
- name: Install fonts needed | ||
command: arch-chroot /mnt pacman -S ttf-joypixels ttf-hannom opendesktop-fonts ttf-liberation wqy-zenhei otf-ipafont noto-fonts noto-fonts-emoji --noconfirm | ||
args: | ||
creates: /usr/share/fonts/noto/* | ||
tags: | ||
- arch2disk | ||
- fonts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#============================================================================== | ||
# Post-reboot tasks | ||
# These tasks can't run before reboot because of various reasons | ||
#============================================================================== | ||
|
||
- name: Install pikaur | ||
# Install pikaur using pikaur | ||
shell: | | ||
cd /tmp | ||
git clone https://github.com/actionless/pikaur.git | ||
cd pikaur | ||
python3 ./pikaur.py -S pikaur --noconfirm | ||
args: | ||
creates: /usr/bin/pikaur | ||
|
||
- name: Install systemd-boot update transaction hook | ||
aur: | ||
name: systemd-boot-pacman-hook | ||
use: pikaur | ||
when: bootloader=="systemd-boot" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
############################################################################### | ||
# Install Gnome shell on wayland | ||
############################################################################### | ||
|
||
- name: Install wayland, gnome-shell and gdm | ||
pacman: | ||
name: | ||
- wayland | ||
- gdm | ||
- gnome-shell | ||
tags: | ||
- gnome_shell | ||
|
||
- name: Disable gnome xsession | ||
command: mv /usr/share/xsessions/gnome.desktop /usr/share/xsessions/gnome.desktop.disabled | ||
args: | ||
removes: /usr/share/xsessions/gnome.desktop | ||
tags: | ||
- gnome_shell | ||
|
||
- name: Enable and start gdm | ||
systemd: | ||
name: gdm | ||
state: started | ||
enabled: yes | ||
tags: | ||
- gnome_shell | ||
|
||
- name: Install useful gnome desktop applications | ||
pacman: | ||
name: | ||
- gnome-shell-extension-appindicator | ||
- xdg-desktop-portal-gtk | ||
- xdg-user-dirs | ||
- nautilus | ||
- nautilus-sendto | ||
tags: | ||
- gnome_shell | ||
- apps |
Oops, something went wrong.