forked from lix-project/lix
f4ab297b31
`///@file` makes them show up in the internal API dos. A tiny few were missing `#pragma once`.
30 lines
919 B
C++
30 lines
919 B
C++
#pragma once
|
|
///@file
|
|
|
|
#include "store-api.hh"
|
|
|
|
namespace nix {
|
|
|
|
struct CommonSSHStoreConfig : virtual StoreConfig
|
|
{
|
|
using StoreConfig::StoreConfig;
|
|
|
|
const Setting<Path> sshKey{(StoreConfig*) this, "", "ssh-key",
|
|
"Path to the SSH private key used to authenticate to the remote machine."};
|
|
|
|
const Setting<std::string> sshPublicHostKey{(StoreConfig*) this, "", "base64-ssh-public-host-key",
|
|
"The public host key of the remote machine."};
|
|
|
|
const Setting<bool> compress{(StoreConfig*) this, false, "compress",
|
|
"Whether to enable SSH compression."};
|
|
|
|
const Setting<std::string> remoteStore{(StoreConfig*) this, "", "remote-store",
|
|
R"(
|
|
[Store URL](@docroot@/command-ref/new-cli/nix3-help-stores.md#store-url-format)
|
|
to be used on the remote machine. The default is `auto`
|
|
(i.e. use the Nix daemon or `/nix/store` directly).
|
|
)"};
|
|
};
|
|
|
|
}
|