darwin/system: fix Time Machine activation script using exit instead of return
`exit` in an activation script aborts the entire nix-darwin activation,
so Time Machine was never configured even when the disk was present.
Wrap the logic in a function and use `return` for early exits instead.