mirror of
https://github.com/NixOS/nix
synced 2025-07-07 06:01:48 +02:00
Add read-only setting to LocalStoreConfig.
This commit is contained in:
parent
5fd161189d
commit
de359da09a
1 changed files with 5 additions and 0 deletions
|
@ -46,6 +46,11 @@ struct LocalStoreConfig : virtual LocalFSStoreConfig
|
||||||
"require-sigs",
|
"require-sigs",
|
||||||
"Whether store paths copied into this store should have a trusted signature."};
|
"Whether store paths copied into this store should have a trusted signature."};
|
||||||
|
|
||||||
|
Setting<bool> readOnly{(StoreConfig*) this,
|
||||||
|
false,
|
||||||
|
"read-only",
|
||||||
|
"TODO"};
|
||||||
|
|
||||||
const std::string name() override { return "Local Store"; }
|
const std::string name() override { return "Local Store"; }
|
||||||
|
|
||||||
std::string doc() override;
|
std::string doc() override;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue