Commit Graph

37 Commits

Author SHA1 Message Date
Fabio Scotto di Santolo
a3df4b7962 desktop_common: drop inert Flatpak GTK_THEME override
The task wrote /etc/flatpak/overrides/global, but Flatpak reads its
overrides from /var/lib/flatpak/overrides/, so the file was never
honored. The dark theme is now correctly applied to Flatpak apps via
xdg-desktop-portal (color-scheme + gtk-theme), which works as long as
the portal backends can start — fixed in the prior commit.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-17 08:05:25 +02:00
Fabio Scotto di Santolo
63cd774f6f sway: screenshots, polkit floating, flatpak dark theme
Screenshots
- Swap xfce4-screenshooter for flameshot + grim/slurp/jq; xfce4 used
  the X11 selection so clipboard didn't round-trip to Wayland clients.
  Print invokes flameshot's editor; Shift/Alt+Print are quick
  grim-based captures via a small wrapper script. Flameshot is now
  autostarted so the first capture isn't slow.

Polkit
- Add for_window rules so the xfce-polkit dialog (and any other polkit
  agent) always opens floating.

Flatpak dark theme
- Write /etc/flatpak/overrides/global with GTK_THEME=Yaru-Blue-dark for
  legacy GTK apps, plus a sway-portals.conf so the Settings portal is
  served by xdg-desktop-portal-gtk (wlr doesn't implement it). That
  lets libadwaita apps see color-scheme=prefer-dark.

cleanup-sway: track the new package set.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 23:26:45 +02:00
Fabio Scotto di Santolo
2d3fb543de desktop: add sway/swayfx profile (dormant) with waybar, kanshi, cliphist
New profile_desktop_sway role gated by desktop_sessions_enabled, with
SwayFX effects, Waybar bar (1:1 with Polybar layout + pulseaudio),
swayidle + swaylock-effects for locking, swayosd for OSD, cliphist for
clipboard history and kanshi for multi-monitor profiles. Emptty gains
WAYLAND_SESSIONS_PATH + wayland-sessions dir. start-sway wrapper handles
session env (dbus-run-session, gpg-agent, turnstile env). Profile stays
dormant until a host opts in via desktop_sessions_enabled.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-16 19:39:11 +02:00
Fabio Scotto di Santolo
43619b714f Remove remaining Arch references from profile_desktop_common
Drop the Arch-specific systemd SSH reload handler and remove
.config/systemd/user from the common dir creation loop (no longer
needed without the Arch path).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 21:59:44 +02:00
Fabio Scotto di Santolo
8dea4ec07d Fix rustup-init failing on fresh systems
~/.cargo/env does not exist before rustup-init runs — sourcing it
upfront caused the task to fail on clean installs. Switch to a plain
command invocation without the premature source.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 21:37:59 +02:00
Fabio Scotto di Santolo
36a8762e4d Remove Arch/nymph path, restore nymph as Void desktop
Delete all Arch-specific files (packages_arch role, profile_desktop_gnome
role, arch.yml group_vars, nymph.yml host_vars, arch dotfiles). Revert
nymph to the void group in inventory, remove the arch play from site.yml,
and restore profile_desktop_host/tasks/nymph.yml to its pre-Arch state
(GRUB + NVIDIA + prime-run). Preserve Void improvements introduced
alongside Arch work (desktop_void_dotfiles, desktop_void_source_tools,
profile_desktop_i3 dir additions, void-specific conditions).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 20:06:20 +02:00
Fabio Scotto di Santolo
ac0d779f0f Remove Sway from the playbook, keep Noctalia configs
Drop the profile_desktop_sway role (tasks, templates), all Sway
dotfiles, desktop_sway_* vars, and wayland-sessions emptty path.
Noctalia dotfiles are preserved and deployed via desktop_void_dotfiles
on Void hosts; noctalia_bar_monitors/noctalia_screen_overrides kept
as config vars. Only i3 remains as the Void desktop session.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 18:44:56 +02:00
Fabio Scotto di Santolo
d7629d33d6 Expand and clean up Arch GNOME packages, remove alacritty from Arch
- arch_desktop_gnome_packages: add full GNOME app suite (baobab, gnome-console,
  loupe, papers, showtime, snapshot, sushi, gvfs backends, etc.), sort
  alphabetically, remove duplicates already in arch_packages_base
  (gnome-keyring, gvfs, gvfs-mtp, gvfs-smb, simple-scan)
- Remove alacritty from arch_profile_packages; move alacritty config and
  directory creation to Void-only (profile_desktop_i3 / desktop_void_dotfiles)
- Enable emacs user service via ansible.builtin.systemd (scope: user)
  instead of a manual symlink

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 10:55:54 +02:00
Fabio Scotto di Santolo
b483ef5b7e Move st to Void-only source tools, remove bookokrat
- bookokrat removed completely from desktop_source_tools
- st moved from common to desktop_void_source_tools (Void-only; uses X11/make)
- Build task loop extended to include desktop_void_source_tools on Void

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-13 10:37:51 +02:00
Fabio Scotto di Santolo
14c24c299d Clean up Arch profile: remove i3/Void-specific config and fix GNOME integration
- Remove XFCE/i3-specific packages and dotfiles from Arch path (xarchiver,
  udiskie, Thunar, xfce-polkit, clipman, screenshooter)
- Separate per-OS dotfiles: mimeapps, udiskie config, GTK theme script,
  udiskie-password, dbus-session and ssh-agent fragments moved to Void-only
- Add mimeapps.arch.list with Nautilus/GNOME associations for nymph
- Move dunst/rofi directory creation from common to profile_desktop_i3
- Add gnome-keyring PAM hooks for GDM (gdm-password) in profile_desktop_gnome
- Remove ssh-agent.service from desktop_systemd_user_services on Arch;
  drop ssh-agent dependency and hardcoded socket from emacs.service
- Add ttf-hack-nerd to Arch font packages
- Fix rustup bootstrap: use rustup-init on Void, rustup toolchain install on Arch

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-05-12 23:37:39 +02:00
Fabio Scotto di Santolo
f0fcc92d6d Enable new Archlinux profile for nymph 2026-05-12 18:02:30 +02:00
Fabio Scotto di Santolo
e4d6deb3c5 Added npm tag 2026-05-10 09:02:08 +02:00
Fabio Scotto di Santolo
fe8ad912eb Add rustup bootstrap task before source tool builds 2026-04-22 11:51:24 +02:00
Fabio Scotto di Santolo
fa94a2e70e Remove Ollama server infrastructure and related tasks 2026-04-22 10:46:14 +02:00
Fabio Scotto di Santolo
f954dd70b3 Add desktop ollama service flag 2026-04-21 17:02:28 +02:00
Fabio Scotto di Santolo
08b0b02756 Split Emacs dotfiles deployment 2026-04-21 09:58:21 +02:00
Fabio Scotto di Santolo
30eb6480a8 Treat Org home as a normal directory 2026-04-20 17:01:56 +02:00
Fabio Scotto di Santolo
7c36681242 Mount pCloud with turnstile rclone service 2026-04-19 09:06:57 +02:00
Fabio Scotto di Santolo
8732cb886f Move source tool clone path from ~/.local/src to /usr/src 2026-04-18 19:17:51 +02:00
Fabio Scotto di Santolo
cc8c07a309 Add Ollama with binary tool pattern and turnstile service 2026-04-18 16:12:18 +02:00
Fabio Scotto di Santolo
b0286eed03 Add bookokrat to source tools with build_output_path support 2026-04-18 11:36:05 +02:00
Fabio Scotto di Santolo
d7d27764a5 Switch OpenCode from GitHub tarball to npm package 2026-04-18 09:56:35 +02:00
Fabio Scotto di Santolo
0a0ce183ae Add gf GDB frontend with unified source tool build pattern 2026-04-17 21:24:16 +02:00
Fabio Scotto di Santolo
a14ba14a3e Simplify tmux config and bootstrap plugins with TPM 2026-04-17 16:09:59 +02:00
Fabio Scotto di Santolo
dcbe2fb403 Stop managing Ollama through turnstile 2026-04-17 14:09:29 +02:00
Fabio Scotto di Santolo
b6b905b8b3 Remove Codex CLI from desktop bootstrap and dotfiles 2026-04-17 11:52:48 +02:00
Fabio Scotto di Santolo
0522fb1f4e Remove tmux-bitwarden plugin and bw install 2026-04-17 11:32:55 +02:00
Fabio Scotto di Santolo
b792828cc0 Reconfigure GPTel for Ollama 2026-04-11 22:29:33 +02:00
Fabio Scotto di Santolo
91dd182903 Refactor online tool installation flows 2026-04-10 21:54:28 +02:00
Fabio Scotto di Santolo
d5512285c1 Generalize UFW rule inventory inputs 2026-04-10 18:55:46 +02:00
Fabio Scotto di Santolo
44ef555320 Remove iCloud keyring bootstrap tasks 2026-04-10 18:22:19 +02:00
Fabio Scotto di Santolo
8bd692c87b Add Ollama and Codex desktop integration 2026-04-10 16:00:03 +02:00
Fabio Scotto di Santolo
2eb01d324f Add turnstile Emacs service and stable ssh-agent 2026-04-10 13:32:03 +02:00
Fabio Scotto di Santolo
acc6444067 Add gptel to Emacs desktop profile 2026-04-09 22:28:56 +02:00
Fabio Scotto di Santolo
5d979d0bbb Enable SSH access on ikaros 2026-04-09 16:55:01 +02:00
Fabio Scotto di Santolo
e00fd53a34 Add KVM and virt-manager to Void desktop 2026-03-31 21:32:47 +02:00
Fabio Scotto di Santolo
ad54ffca6b Reorganize desktop roles: extract common bootstrap and host-specific layers
- Add profile_desktop_common with shared desktop bootstrap (emptty, PAM,
  dotfiles, templates, GPG, Maildir, Flatpak, st, external tools)
- Add profile_desktop_host with host-specific tasks (NVIDIA/PRIME on nymph)
- Reduce profile_desktop_i3 to i3/X11-only tasks
- Create profile_desktop_hyprland for Hyprland Wayland session
- Add dual-session support (i3 + Hyprland) on nymph with session choice
- Create shared Hyprland/Waybar dotfiles under dotfiles/desktop/
- Fix Waybar: bottom position, no persistent workspaces, sort by number
- Rename host_dotfiles to host_i3_dotfiles for clarity
- Make emptty restart manual by default to avoid session drops
2026-03-30 12:43:41 +02:00