diff options
| author | 2026-04-21 01:23:39 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:23:39 +0100 | |
| commit | f742696eb6262ee65f29c8b51ffd85f2f76ab44c (patch) | |
| tree | 6728456ac14582df97ec5ecbf002cd55f4b11b64 | |
| parent | f1837fdee1df25022a975e60a48ca6085b2d1b55 (diff) | |
| download | dotfiles-f742696eb6262ee65f29c8b51ffd85f2f76ab44c.tar.gz dotfiles-f742696eb6262ee65f29c8b51ffd85f2f76ab44c.tar.bz2 dotfiles-f742696eb6262ee65f29c8b51ffd85f2f76ab44c.zip | |
feat(services): curate tor + pcscd, filter @ templates from drift
- tor.service -> systemd-units/btc.txt (pairs with tor in meta/btc.txt)
- pcscd.socket -> systemd-units/base.txt (smartcards, used by GPG)
- services-drift now filters @-template units (getty@ etc.), which
are abstract and can't be curated meaningfully anyway
systemd-networkd.{service,socket,wait-online} remain uncurated;
that's a real decision (conflicts with iwd) left to disable by hand.
| -rw-r--r-- | justfile | 2 | ||||
| -rw-r--r-- | systemd-units/base.txt | 1 | ||||
| -rw-r--r-- | systemd-units/btc.txt | 4 |
3 files changed, 6 insertions, 1 deletions
@@ -168,7 +168,7 @@ services-drift: cat systemd-units/*.txt 2>/dev/null \ | grep -v '^\s*#' | grep -v '^\s*$' | sort -u > "$tmp/curated" systemctl list-unit-files --state=enabled --no-legend 2>/dev/null \ - | awk '{print $1}' | sort -u > "$tmp/enabled" + | awk '{print $1}' | grep -vE '@\.' | sort -u > "$tmp/enabled" comm -23 "$tmp/curated" "$tmp/enabled" | sed 's/^/ not-enabled: /' comm -13 "$tmp/curated" "$tmp/enabled" | sed 's/^/ uncurated: /' diff --git a/systemd-units/base.txt b/systemd-units/base.txt index bec3556..8f8a526 100644 --- a/systemd-units/base.txt +++ b/systemd-units/base.txt @@ -11,3 +11,4 @@ acpid.service cpupower.service iwd.service tlp.service +pcscd.socket diff --git a/systemd-units/btc.txt b/systemd-units/btc.txt new file mode 100644 index 0000000..b30199c --- /dev/null +++ b/systemd-units/btc.txt @@ -0,0 +1,4 @@ +# Systemd units to enable when the 'btc' meta group is installed. +# One unit per line, # comments OK. + +tor.service |
