Deploy the Nextcloud desktop autostart entry on GNOME desktops

Add the XDG autostart entry captured from ikaros' live session and ship
it through a new desktop_gnome_dotfiles list, which the GNOME dotfile
copy task merges with desktop_common_dotfiles.

The list is GNOME-specific on purpose: desktop_common_dotfiles is shared
with the Void minimal desktops, where nextcloud-client is not installed.
Installation itself already comes from fedora_desktop_packages, which
covers ikaros and nymph through the graphical_desktop group.
This commit is contained in:
2026-11-01 19:07:48 +01:00
parent 57c34a6de0
commit 146c93c6c6
3 changed files with 22 additions and 1 deletions

View File

@@ -91,3 +91,13 @@ fedora_flatpak_packages:
- com.spotify.Client
- org.onlyoffice.desktopeditors
- org.telegram.desktop
# GNOME-only dotfiles. Kept out of desktop_common_dotfiles so the Void desktops
# do not receive XDG autostart entries for applications they do not install.
# Nextcloud desktop is the `nextcloud-client` package in fedora_desktop_packages;
# this entry matches what the client itself writes when "Launch on startup" is on.
desktop_gnome_dotfiles:
- name: Nextcloud autostart entry
src: .config/autostart/Nextcloud.desktop
dest: .config/autostart/Nextcloud.desktop
mode: "0644"

View File

@@ -41,7 +41,7 @@
owner: "{{ username }}"
group: "{{ user_group }}"
mode: "{{ item.mode }}"
loop: "{{ desktop_common_dotfiles | default([]) }}"
loop: "{{ (desktop_common_dotfiles | default([])) + (desktop_gnome_dotfiles | default([])) }}"
loop_control:
label: "{{ item.dest }}"