dotfiles/run_onchange-configure-systemd.sh.tmpl

17 lines
468 B
Bash

#!/usr/bin/env bash
if [ -n "$CI" ]; then
echo "Not running this step in CI for now";
exit 0;
fi
# systemd-hash: {{ glob "~/.config/systemd/user/*" | join "" | sha256sum }}
systemctl --user daemon-reload
sudo systemctl enable --now pcscd
sudo systemctl enable --now udisks2
sudo systemctl enable --now systemd-resolved
{{- if (eq .chezmoi.hostname "apfelstrudel") }}
systemctl enable --now --user davmail@bascht
sudo systemctl enable --now docker
{{ end }}