[Unit]
Description=Optimizing pacman hooks
[Service]
Type=oneshot
ExecStart=bash -c "/usr/lib/garuda/is-snapshot-boot || mount --bind /dev/null /usr/share/libalpm/hooks/01-snapshot-reject.hook"
[Install]
WantedBy=multi-user.target