From f1837fdee1df25022a975e60a48ca6085b2d1b55 Mon Sep 17 00:00:00 2001 From: sommerfeld Date: Tue, 21 Apr 2026 01:23:39 +0100 Subject: feat(services): curated systemd units via just recipes Introduce systemd-units/.txt files paired by name with meta groups (systemd-units/base.txt <-> meta/base.txt). Units listed there are enabled by a new 'just services-enable' recipe, wired into 'just init' so bootstrap.sh no longer needs its own systemctl loop. New justfile recipes (Services section): services list curated units with enabled/active state services-enable idempotent 'systemctl enable --now', soft-fail per unit services-drift two-way diff vs systemctl list-unit-files bootstrap.sh drops its hardcoded 9-unit loop and laptop TLP block (~22 lines); 'just init' now handles it. tlp.service lives directly in systemd-units/base.txt (no laptop gating). --- systemd-units/base.txt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 systemd-units/base.txt (limited to 'systemd-units/base.txt') diff --git a/systemd-units/base.txt b/systemd-units/base.txt new file mode 100644 index 0000000..bec3556 --- /dev/null +++ b/systemd-units/base.txt @@ -0,0 +1,13 @@ +# Systemd units to enable when the 'base' meta group is installed. +# One unit per line, # comments OK. + +fstrim.timer +systemd-timesyncd.service +systemd-resolved.service +reflector.timer +paccache.timer +pkgstats.timer +acpid.service +cpupower.service +iwd.service +tlp.service -- cgit v1.2.3-70-g09d2