diff options
| author | 2026-04-21 01:23:39 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:23:39 +0100 | |
| commit | f1837fdee1df25022a975e60a48ca6085b2d1b55 (patch) | |
| tree | c722fdcfe3f9fd3791db494a8545e7bdd346ccb7 /systemd-units/base.txt | |
| parent | a13be81f89f44679553e640b57c18565396dafa7 (diff) | |
| download | dotfiles-f1837fdee1df25022a975e60a48ca6085b2d1b55.tar.gz dotfiles-f1837fdee1df25022a975e60a48ca6085b2d1b55.tar.bz2 dotfiles-f1837fdee1df25022a975e60a48ca6085b2d1b55.zip | |
feat(services): curated systemd units via just recipes
Introduce systemd-units/<group>.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).
Diffstat (limited to 'systemd-units/base.txt')
| -rw-r--r-- | systemd-units/base.txt | 13 |
1 files changed, 13 insertions, 0 deletions
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 |
