diff options
| author | 2026-04-21 01:23:39 +0100 | |
|---|---|---|
| committer | 2026-04-21 01:23:39 +0100 | |
| commit | f742696eb6262ee65f29c8b51ffd85f2f76ab44c (patch) | |
| tree | 6728456ac14582df97ec5ecbf002cd55f4b11b64 /justfile | |
| 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.
Diffstat (limited to 'justfile')
| -rw-r--r-- | justfile | 2 |
1 files changed, 1 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: /' |
