1
0
Fork 0

Bin: list generations when creating a new one via NOS

This commit is contained in:
Aires 2024-12-10 12:38:18 -05:00
parent 781bb74a67
commit a799f48986

View file

@ -105,4 +105,12 @@ fi
echo "Running this operation: nixos-rebuild ${operation} ${options}"
/run/current-system/sw/bin/nixos-rebuild $operation $options
case "$operation" in
boot|switch)
echo ""
echo "New generation created: "
/run/current-system/sw/bin/nixos-rebuild list-generations
;;
esac
exit 0