From e9bb9ad798e5ad9f4a487f8d4870053a3ab7fd0f Mon Sep 17 00:00:00 2001 From: Fabio Scotto di Santolo Date: Fri, 17 Apr 2026 11:52:48 +0200 Subject: [PATCH] Remove Codex CLI from desktop bootstrap and dotfiles --- AGENTS.md | 1 - README.md | 2 +- ansible/inventory/group_vars/desktop.yml | 4 ---- ansible/roles/profile_desktop_common/tasks/main.yml | 7 ------- dotfiles/desktop/.codex/config.toml | 11 ----------- 5 files changed, 1 insertion(+), 24 deletions(-) delete mode 100644 dotfiles/desktop/.codex/config.toml diff --git a/AGENTS.md b/AGENTS.md index 30c6a17..8bfc708 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -55,7 +55,6 @@ Ansible-driven personal infrastructure repo for Void desktops, Linux workstation - User services are managed by `turnstile` and live under `dotfiles/desktop/.config/service/`. - `ssh-agent` runs under `turnstile` with stable socket `~/.local/state/ssh-agent/socket`. - `ollama` is installed from the upstream Linux tarball into `/usr/local` and runs under `turnstile`. -- `Codex CLI` is installed globally via npm and can target the local Ollama instance. - Critical session entrypoints: - `dotfiles/desktop/.xinitrc` - `dotfiles/desktop/.local/bin/start-sway-session` diff --git a/README.md b/README.md index 4c9e3ee..0f9baab 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ Lo stato attuale del profilo desktop include, tra le altre cose: - pacchetti Void Linux e servizi runit - `turnstile` per i servizi utente, inclusi `emacs`, `ssh-agent` e `ollama` - `ssh-agent` con socket stabile condiviso tra shell, SSH ed Emacs in `~/.local/state/ssh-agent/socket` -- `ollama` installato da tarball upstream e gestito come servizio utente `turnstile`, con `Codex CLI` installato globalmente via npm +- `ollama` installato da tarball upstream e gestito come servizio utente `turnstile` - Flatpak con remoto Flathub - GNOME Keyring e bootstrap della posta via script dedicato - `Waybar` separata per compositor (`config-sway.jsonc` e `config-hyprland.jsonc`) con `style.css` condiviso diff --git a/ansible/inventory/group_vars/desktop.yml b/ansible/inventory/group_vars/desktop.yml index 56c0066..f0b3367 100644 --- a/ansible/inventory/group_vars/desktop.yml +++ b/ansible/inventory/group_vars/desktop.yml @@ -186,10 +186,6 @@ desktop_common_dotfiles: src: .config/udiskie/ dest: .config/udiskie/ mode: preserve - - name: Codex config - src: .codex/ - dest: .codex/ - mode: preserve - name: Turnstile user services src: .config/service/ dest: .config/service/ diff --git a/ansible/roles/profile_desktop_common/tasks/main.yml b/ansible/roles/profile_desktop_common/tasks/main.yml index 3ac3ca7..16d05e7 100644 --- a/ansible/roles/profile_desktop_common/tasks/main.yml +++ b/ansible/roles/profile_desktop_common/tasks/main.yml @@ -573,10 +573,3 @@ changed_when: true when: - ollama_archive_download.changed or not ollama_install_state.stat.exists - -- name: Install Codex CLI globally - tags: [packages] - community.general.npm: - name: "@openai/codex" - global: true - state: present diff --git a/dotfiles/desktop/.codex/config.toml b/dotfiles/desktop/.codex/config.toml deleted file mode 100644 index 808c61e..0000000 --- a/dotfiles/desktop/.codex/config.toml +++ /dev/null @@ -1,11 +0,0 @@ -[model_providers.ollama-launch] -name = "Ollama" -base_url = "http://localhost:11434/v1" - -[profiles.ollama-cloud] -model = "gpt-5.4" -model_provider = "ollama-launch" -model_reasoning_effort = "medium" - -[projects."/home/fscotto"] -trust_level = "trusted"