fix: signal state uses idempotent state

This commit is contained in:
Ben Grande 2024-01-02 23:03:10 +01:00
parent f32a14c422
commit d939d4aa26

View File

@ -9,14 +9,13 @@ SPDX-License-Identifier: AGPL-3.0-or-later
include: include:
- dotfiles.copy-x11 - dotfiles.copy-x11
"{{ slsdotpath }}-create-autostart-dir":
cmd.run:
- name: mkdir -p ~/.config/autostart
- runas: user
"{{ slsdotpath }}-desktop-autostart": "{{ slsdotpath }}-desktop-autostart":
cmd.run: file.symlink:
- name: ln -sf /usr/share/applications/signal-desktop.desktop ~/.config/autostart/ - name: /home/user/.config/autostart/signal-desktop.desktop
- runas: user - target: /usr/share/applications/signal-desktop.desktop
- user: user
- group: user
- force: True
- makedirs: True
{% endif -%} {% endif -%}