Files
pmaports-rtwo/extra-repos/systemd/postmarketos-base-systemd/rootfs-usr-lib-systemd-system-preset-90-base.preset
T
Clayton Craft 4f29f7a07e systemd/postmarketos-base-systemd: add missing preset config
The trigger runs `systemctl preset cups.service`, but then if it runs
preset on the other two *afterwards* it will disable them (because no
explicit preset and we default to disable). This helps ensure they're
kept enabled.

The same seems to also happen for NetworkManager-wait-online and the
other things here, leading to them being accidentally disabled.

This also removes cups.service, it should be socket-activatable now that
cups.socket is enabled.

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/7029>
2025-09-16 13:37:11 -07:00

135 lines
3.1 KiB
Plaintext

# overrides for systemd
disable systemd-network*
disable systemd-homed*
disable systemd-journald-audit.socket
# starting multipathd on systems with no multipath hardware can soft-hang
# boot, so disable it by default
disable multipathd.service
# for basically all Uis
## system services
enable ModemManager.service
enable NetworkManager.service
enable NetworkManager-wait-online.service
enable apk-polkit-server.service
enable bluetooth.service
enable haveged.service
enable hkdm.service
enable kill-pbsplash.service
enable nftables.service
enable postmarketos-tweakd.service
enable rtkit-daemon.service
enable sleep-inhibitor.service
enable sshd.service
enable systemd-rfkill.service
enable tinydm.service
enable udisks2.service
enable cups.path
enable cups.socket
enable zram_swap.service
enable systemd-oomd.service
enable alsa-restore.service
enable alsa-state.service
# Note: tuned-ppd can be dbus activated but it and tuned are being enabled here
# so that they start at boot without waiting for a user to login.
enable tuned.service
enable tuned-ppd.service
# Note: technically these two shouldn't be enabled at the same time, but
# pmos-base-wifi provides should make sure that only one is installed at the
# same time.
enable iwd.service
enable wpa_supplicant.service
# UIs:
## plasma
enable hfd-service.service
enable urfkill.service
enable plasma-mobile.service
enable sddm.service
enable drkonqi-coredump-processor@.service
## gnome
enable gdm.service
## optional dependency of gnome-usage
enable vnstat.service
## fbkeyboard
enable fbkeyboard.service
## asteroid
enable mce.service
enable usb-moded.service
enable connman.service
enable dsme.service
## kodi
enable kodi.service
## COSMIC
enable cosmic-greeter.service
## mate / xfce
enable lightdm.service
## niri
# NOTE: This is a generic greeter so it can be moved under a more generic
# header if another UI uses it.
enable wlgreet.service
# Waydroid
enable sensorfwd.service
enable waydroid-container.service
enable waydroid-sensors.service
# Device specifics:
# TODO: i like the idea of device/soc specific presets, we should move this out of here
enable adsp-audio.service
enable bootmac-bluetooth.service
enable gesture.service
enable gnss-share
enable hexagonfs-firmware-loader.service
enable swclock-offset-boot.service
enable swclock-offset-shutdown.service
enable msm-firmware-loader.service
enable msm-firmware-loader-unpack.service
## sensors
enable hexagonrpcd-adsp-rootpd.service
enable hexagonrpcd-adsp-sensorspd.service
enable hexagonrpcd-sdsp.service
enable iio-sensor-proxy.service
enable hfd-service.service
## qcom
enable 81voltd.service
enable diag-router.service
enable msm-modem-uim-selection.service
enable pd-mapper.service
enable q6voiced.service
enable qbootctl.service
enable qrtr-ns.service
enable rmtfs.service
enable tqftpserv.service
## pixel3a
enable modem-gnss.service
## pinephone{,-pro}
enable eg25-manager.service
## chromebook
enable keyd.service
enable cros-keyboard-map.service
## librem5
enable l5-brcm-bt-enable.service
enable librem5-base-defaults.librem5-lockdown-support.service
## nokia n900
enable wl1251-cal.service