1
1
Fork 0
mirror of https://github.com/NixOS/nix.git synced 2025-11-26 04:00:59 +01:00

Make store setting and store flags use StoreReference

This commit is contained in:
John Ericson 2024-01-24 11:05:26 -05:00
parent 4a19f4a866
commit a7c841f704
35 changed files with 269 additions and 105 deletions

View file

@ -18,7 +18,7 @@ struct CommonSSHStoreConfig : virtual StoreConfig
const Setting<bool> compress{this, false, "compress",
"Whether to enable SSH compression."};
const Setting<std::string> remoteStore{this, "", "remote-store",
const Setting<std::optional<StoreReference>> remoteStore{this, std::nullopt, "remote-store",
R"(
[Store URL](@docroot@/store/types/index.md#store-url-format)
to be used on the remote machine. The default is `auto`