add syncthing to auto start and fix rsreset alias

This commit is contained in:
Morgan McMillian 2024-10-18 11:48:50 -05:00
parent ad5145b060
commit 4417ca4df2
2 changed files with 13 additions and 1 deletions

View file

@ -14,4 +14,4 @@ starship_precmd_user_func="set_win_title"
eval "$(starship init bash)"
alias wttr='curl wttr.in'
alias tsreset='tailscale up --reset --exit-node='
alias tsreset='sudo tailscale up --reset --exit-node='

View file

@ -57,6 +57,18 @@
dest: "{{ config_dir }}/starship.toml"
state: link
- name: Create user autostart path
ansible.builtin.file:
path: "{{ config_dir }}/autostart"
state: directory
mode: "0755"
- name: Set syncthing to autostart
ansible.builtin.copy:
src: /usr/share/applications/syncthing-start.desktop
dest: "{{ config_dir }}/autostart/syncthing-start.desktop"
mode: "0644"
- name: Create cosmic settings path
ansible.builtin.file:
path: "{{ config_dir }}/cosmic/com.system76.CosmicSettings.Shortcuts/v1"