dotfiles/nixos/expire-home-manager-generations.sh

8 lines
182 B
Bash
Raw Normal View History

#!/usr/bin/env bash
users=("root" "imalison" "kat" "dean" "alex" "will" "mike")
for user in "${users[@]}"; do
sudo su - $user -c 'home-manager expire-generations -15days'
done