Move install-time plumbing out of the setup namespace
setup is where a user goes to configure something: direct boot, security keys, hibernation. These three are not that. omarchy-apply-system is the ISO's entry point in the target chroot, omarchy-apply-hardware is what it calls for device quirks, and omarchy-apply-lock is called by install/config/lockscreen-pam.sh. apply is the verb they already used to describe themselves, and it carries the contract: declared state under install/ converged onto the machine, idempotent, safe to repeat. The group gets no GROUP_DESCRIPTIONS entry on purpose. That table drives the top-level group list on its own, so an entry would put apply back in front of users even with every command in it hidden, the way provision already stays out. A test covers it. The ISO installs the runtime from the mirror it ships with, so it moves to the new names in lockstep and no compatibility route is needed. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Opus 5
parent
477284f002
commit
536fcd5c6c
@@ -669,7 +669,7 @@ Timezone,${timezone:-UTC}" |
|
||||
gum confirm --negative "No, change it" "Does this look right?"
|
||||
}
|
||||
|
||||
# Groups recorded by omarchy-setup-system's scripts at install time
|
||||
# Groups recorded by omarchy-apply-system's scripts at install time
|
||||
# (/var/lib/omarchy/provisioning/groups), filtered to groups that exist on this system.
|
||||
user_groups() {
|
||||
local groups="wheel" group
|
||||
|
||||
Reference in New Issue
Block a user