Loading
nixos/garage: set `StateDirectory` if used at all
Changes the `mkIf` to trigger if *either* `data_dir`/`metadata_dir` use `/var/lib/garage`, not only if both do. This is useful to me because I want to store metadata in `/var/lib/garage` but I also want to store data in a different mountpoint (via `data_dir` and `ReadWritePaths`).