#!/bin/bash
set -euo pipefail

sudo pacman -S --noconfirm --needed timeshift cronie

# Auto-snapshot before pacman transactions
yay -S --answerdiff None --answerclean All --noconfirm timeshift-autosnap

sudo systemctl enable --now cronie.service
