archinstall/archinstall/default_profiles/desktops
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
..
niri_dms_assets add niri DankMaterialShell profile (#4554) 2026-05-25 21:13:56 +10:00
__init__.py Refactor profile seat access selection (#4457) 2026-05-04 14:45:43 +10:00
awesome.py Remove deprecated __future__ imports (#4393) 2026-04-08 08:11:05 +02:00
bspwm.py Fix bspwm black screen: add provision() delegation and default configs (#4518) 2026-05-07 10:20:09 +10:00
budgie.py Replace terminal and file manager in Budgie profile (#4533) 2026-05-13 08:21:15 +10:00
cinnamon.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00
cosmic.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00
deepin.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00
enlightenment.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00
gnome.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00
hyprland.py Refactor profile seat access selection (#4457) 2026-05-04 14:45:43 +10:00
i3.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00
labwc.py Refactor profile seat access selection (#4457) 2026-05-04 14:45:43 +10:00
lxqt.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00
mate.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00
niri.py add niri DankMaterialShell profile (#4554) 2026-05-25 21:13:56 +10:00
niri_dms.py add niri DankMaterialShell profile (#4554) 2026-05-25 21:13:56 +10:00
plasma.py Pull `ui` module one level up (#4515) 2026-05-03 23:54:42 +02:00
qtile.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00
river.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00
sway.py Refactor profile seat access selection (#4457) 2026-05-04 14:45:43 +10:00
utils.py Add users to seat group when seatd is selected (#4578) 2026-06-10 16:56:17 +10:00
xfce4.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00
xmonad.py Stop installing xorg packages for Wayland profiles (#4348) 2026-04-03 09:38:02 +11:00