The previous setup scattered systemctl enables across docker.sh,
printer.sh, bluetooth.sh, network.sh, powerprofilesctl-rules.sh, and
kernel-modules-hook.sh. Some used chrootable_systemctl_enable; others
used bare 'sudo systemctl enable'. Centralizing makes the install-time
service surface auditable in one place and consistent in chroot/non-chroot
behavior.
install/config/enable-services.sh enables:
- bluetooth.service
- cups.service, cups-browsed.service, avahi-daemon.service
- docker.socket
- iwd.service
- linux-modules-cleanup.service
- power-profiles-daemon.service
Each via chrootable_systemctl_enable, which uses 'enable --now' on a live
system and bare 'enable' in chroot (set OMARCHY_CHROOT_INSTALL=1).
Stays in original script (deliberately):
- sddm.sh: bare 'systemctl enable sddm.service' (no --now during install
would log the user out; lives in install/login/)
- limine-snapper.sh: limine-snapper-sync (bootloader-specific path)
- first-run/firewall.sh: ufw (deferred to first-run for UX)
- hardware/{t2,intel/lpmd,intel/thermald,apple/fix-suspend-nvme}: gated
on hardware detection
Side cleanups:
- install/config/kernel-modules-hook.sh: DELETED (sole line was the enable
for linux-modules-cleanup, now in enable-services.sh).
- install/config/hardware/printer.sh: DELETED (sole purpose was the
three cups/avahi enables; nothing else to do).
- install/config/hardware/network.sh: keep the systemd-networkd-wait-online
disable+mask; drop the iwd enable.
- install/config/hardware/bluetooth.sh: keep the AutoEnable=false sed and
the wireplumber/bt-agent user-session setup; drop the system enable.
- install/config/docker.sh: drop the docker.socket enable.
- install/config/powerprofilesctl-rules.sh: drop the
power-profiles-daemon enable.
- install/config/all.sh: register enable-services.sh; remove the two
deleted entries.
68 lines
3.5 KiB
Bash
68 lines
3.5 KiB
Bash
run_logged $OMARCHY_INSTALL/config/theme.sh
|
|
run_logged $OMARCHY_INSTALL/config/branding.sh
|
|
run_logged $OMARCHY_INSTALL/config/git.sh
|
|
run_logged $OMARCHY_INSTALL/config/gpg.sh
|
|
run_logged $OMARCHY_INSTALL/config/increase-lockout-limit.sh
|
|
run_logged $OMARCHY_INSTALL/config/lockscreen-pam.sh
|
|
run_logged $OMARCHY_INSTALL/config/sleep-lock.sh
|
|
run_logged $OMARCHY_INSTALL/config/increase-file-watchers.sh
|
|
run_logged $OMARCHY_INSTALL/config/increase-fd-limit.sh
|
|
run_logged $OMARCHY_INSTALL/config/detect-keyboard-layout.sh
|
|
run_logged $OMARCHY_INSTALL/config/xcompose.sh
|
|
run_logged $OMARCHY_INSTALL/config/mise-work.sh
|
|
run_logged $OMARCHY_INSTALL/config/fix-powerprofilesctl-shebang.sh
|
|
run_logged $OMARCHY_INSTALL/config/docker.sh
|
|
run_logged $OMARCHY_INSTALL/config/mimetypes.sh
|
|
run_logged $OMARCHY_INSTALL/config/user-dirs.sh
|
|
run_logged $OMARCHY_INSTALL/config/toggles.sh
|
|
run_logged $OMARCHY_INSTALL/config/nautilus-python.sh
|
|
run_logged $OMARCHY_INSTALL/config/localdb.sh
|
|
run_logged $OMARCHY_INSTALL/config/fast-shutdown.sh
|
|
run_logged $OMARCHY_INSTALL/config/input-group.sh
|
|
run_logged $OMARCHY_INSTALL/config/omarchy-ai-skill.sh
|
|
run_logged $OMARCHY_INSTALL/config/pi.sh
|
|
run_logged $OMARCHY_INSTALL/config/omarchy-toggles.sh
|
|
run_logged $OMARCHY_INSTALL/config/powerprofilesctl-rules.sh
|
|
run_logged $OMARCHY_INSTALL/config/wifi-powersave-rules.sh
|
|
|
|
# Service enables centralized; run after all drop-in files are in place.
|
|
run_logged $OMARCHY_INSTALL/config/enable-services.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/network.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/set-wireless-regdom.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-fkeys.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/bluetooth.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/nvidia.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/vulkan.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/video-acceleration.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/lpmd.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/thermald.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/ipu7-camera.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/ptl-kernel.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/fred.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/fix-wifi7-eht.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/intel/sof-firmware.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-asus-ptl-display-backlight.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-asus-ptl-b9406-display.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-asus-ptl-b9406-touchpad.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-audio-mixer.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-mic.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/asus/fix-z13-touchpad.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/framework/fix-f13-amd-audio-input.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/framework/qmk-hid.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/apple/fix-spi-keyboard.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/apple/fix-suspend-nvme.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/apple/fix-t2.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/lenovo/fix-yoga-pro7-bass-speakers.sh
|
|
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-bcm43xx.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-surface-keyboard.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-yt6801-ethernet-adapter.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-synaptic-touchpad.sh
|
|
run_logged $OMARCHY_INSTALL/config/hardware/fix-tuxedo-backlight.sh
|