Dotfiles/setup/modules/Desktop-Environments
Amir Alexander Abdelbaki 61ff61d432 fix(modules): guard remaining interactive prompts for unattended installs
Audited every module for prompts that would hang an answerfile/unattended run.
The EWW form-factor question and several interactive-config modules were still
unguarded (only hyprlua had been fixed):

- hyprland.sh, niri.sh: skip the EWW form-factor `read` when MARCHY_UNATTENDED=1
  or stdin is not a TTY, defaulting to the desktop/no-battery bar (matches hyprlua).
- mail-notmuch.sh, caldav-sync.sh: install the tools, then exit cleanly in
  unattended mode instead of blocking on the account/server credential prompts —
  the user configures the account after first boot.
- freeipa-server.sh: bail out early in unattended mode; FreeIPA server provisioning
  is interactive and must run on a booted system (ipa-server-install needs running
  services), so it can never run during the install.

freeipa-client.sh is left as-is: it has a genuine --unattended enrolment path.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R5kHioUMK3mtf2eiLEozCM
2026-06-27 02:09:04 +02:00
..
cosmic.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
gnome.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
hyprland.sh fix(modules): guard remaining interactive prompts for unattended installs 2026-06-27 02:09:04 +02:00
hyprlua.sh fix(installer): make the unattended module path non-interactive 2026-06-27 01:15:43 +02:00
kde-plasma.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
lxqt.sh feat(installer): add structured logging to all modules and installers 2026-05-22 01:44:31 +02:00
niri.sh fix(modules): guard remaining interactive prompts for unattended installs 2026-06-27 02:09:04 +02:00
sway.sh feat(installer): add structured logging to all modules and installers 2026-05-22 01:44:31 +02:00
xfce.sh feat(installer): add structured logging to all modules and installers 2026-05-22 01:44:31 +02:00