archinstall/archinstall/default_profiles
Softer 091665a975
Add users to seat group when seatd is selected (#4578)
* Add users to seat group when seatd is selected

When a desktop profile uses seatd for seat access, the user must be
in the seat group for the compositor to access input devices. Without
this, sway/hyprland/niri/labwc fail to start after installation.

* Move seat access provisioning into DesktopProfile.provision()

The four Wayland profiles (Hyprland, Sway, niri, labwc) each duplicated a
provision() override calling provision_seat_access(). Move that into the
base DesktopProfile.provision() loop, which already iterates the selected
profiles, and read CustomSetting.SeatAccess from each. The None check now
lives at the call site (walrus), so provision_seat_access() takes a plain
str. This removes the per-profile overrides and their TYPE_CHECKING imports.

* Use top-level imports in seat access utils

The Installer and User imports were under a TYPE_CHECKING guard, but
they cause no circular import (bspwm.py already imports both at top
level). Move them to module scope per review feedback.
2026-06-10 16:56:17 +10:00
..
desktops Add users to seat group when seatd is selected (#4578) 2026-06-10 16:56:17 +10:00
servers Remove deprecated __future__ imports (#4393) 2026-04-08 08:11:05 +02:00
__init__.py PyParted and a large rewrite of the underlying partitioning (#1604) 2023-04-19 12:55:42 +02:00
desktop.py Add users to seat group when seatd is selected (#4578) 2026-06-10 16:56:17 +10:00
minimal.py Update ruff formatter (#3496) 2025-05-24 07:58:42 +00:00
profile.py add niri DankMaterialShell profile (#4554) 2026-05-25 21:13:56 +10:00
server.py Refactor logging and formatting logic (#4542) 2026-05-19 17:48:03 +02:00
xorg.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00