mirror of
https://github.com/fscotto/infra.git
synced 2026-05-30 15:39:58 +00:00
- arch_desktop_gnome_packages: add full GNOME app suite (baobab, gnome-console, loupe, papers, showtime, snapshot, sushi, gvfs backends, etc.), sort alphabetically, remove duplicates already in arch_packages_base (gnome-keyring, gvfs, gvfs-mtp, gvfs-smb, simple-scan) - Remove alacritty from arch_profile_packages; move alacritty config and directory creation to Void-only (profile_desktop_i3 / desktop_void_dotfiles) - Enable emacs user service via ansible.builtin.systemd (scope: user) instead of a manual symlink Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
60 lines
1.9 KiB
YAML
60 lines
1.9 KiB
YAML
---
|
|
- name: Ensure GNOME desktop session is enabled for this profile
|
|
tags: [gnome]
|
|
ansible.builtin.assert:
|
|
that:
|
|
- "'gnome' in (desktop_sessions_enabled | default([]))"
|
|
fail_msg: >-
|
|
profile_desktop_gnome requires desktop_sessions_enabled to include gnome.
|
|
|
|
- name: Ensure systemd boots to the graphical target
|
|
tags: [services, gnome]
|
|
ansible.builtin.file:
|
|
src: /usr/lib/systemd/system/graphical.target
|
|
dest: /etc/systemd/system/default.target
|
|
state: link
|
|
force: true
|
|
owner: root
|
|
group: root
|
|
|
|
- name: Enable emacs user service from package
|
|
tags: [services, emacs]
|
|
ansible.builtin.systemd:
|
|
name: emacs.service
|
|
enabled: true
|
|
scope: user
|
|
become_user: "{{ username }}"
|
|
|
|
- name: Deploy gpg-agent.conf for GNOME (pinentry-gnome3, no ssh-support)
|
|
tags: [dotfiles, dotfiles:desktop, gnome]
|
|
ansible.builtin.copy:
|
|
src: "{{ playbook_dir }}/../dotfiles/desktop/.gnupg/gpg-agent.arch.conf"
|
|
dest: "{{ user_home }}/.gnupg/gpg-agent.conf"
|
|
owner: "{{ username }}"
|
|
group: "{{ user_group }}"
|
|
mode: "0600"
|
|
|
|
- name: Enable gnome-keyring PAM auth hook for GDM
|
|
tags: [gnome]
|
|
ansible.builtin.lineinfile:
|
|
path: /etc/pam.d/gdm-password
|
|
insertafter: '^auth\s+include\s+system-local-login$'
|
|
line: "auth optional pam_gnome_keyring.so"
|
|
state: present
|
|
|
|
- name: Enable gnome-keyring PAM session hook for GDM
|
|
tags: [gnome]
|
|
ansible.builtin.lineinfile:
|
|
path: /etc/pam.d/gdm-password
|
|
insertafter: '^session\s+include\s+system-local-login$'
|
|
line: "session optional pam_gnome_keyring.so auto_start"
|
|
state: present
|
|
|
|
- name: Enable gnome-keyring PAM password hook for GDM
|
|
tags: [gnome]
|
|
ansible.builtin.lineinfile:
|
|
path: /etc/pam.d/gdm-password
|
|
insertafter: '^password\s+include\s+system-local-login$'
|
|
line: "password optional pam_gnome_keyring.so use_authtok"
|
|
state: present
|