Add desktop ollama service flag

This commit is contained in:
Fabio Scotto di Santolo
2026-04-21 17:02:28 +02:00
parent b9e896a56a
commit 3ef9356737
4 changed files with 10 additions and 1 deletions

View File

@@ -8,6 +8,7 @@ desktop_default_session: i3
desktop_default_session_env: xorg
desktop_restart_emptty_automatically: false
desktop_emptty_session_error_logging: disabled
desktop_ollama_enabled: false
desktop_common_packages:
- brightnessctl

View File

@@ -264,6 +264,13 @@
loop_control:
label: "{{ item.dest }}"
- name: Remove disabled ollama user service
tags: [dotfiles, dotfiles:desktop, services]
ansible.builtin.file:
path: "{{ user_home }}/.config/service/ollama"
state: absent
when: not (desktop_ollama_enabled | default(false) | bool)
- name: Copy Emacs desktop dotfiles
tags: [dotfiles, dotfiles:desktop, emacs]
ansible.builtin.copy: