nix-serve should no longer use the default store. Move binaryCaches into the machine submodule.
This commit is contained in:
parent
89debb2c37
commit
345c054448
3 changed files with 19 additions and 9 deletions
|
@ -59,6 +59,13 @@ in {
|
|||
The Machines HostName
|
||||
'';
|
||||
};
|
||||
binaryCaches = mkOption {
|
||||
type = types.listOf types.str;
|
||||
default = [];
|
||||
description = ''
|
||||
Adds binary caches to both nix.trustedBinaryCaches and nix.binaryCaches. ("https://cache.nixos.org" is kept by default)
|
||||
'';
|
||||
};
|
||||
secretPath = mkOption {
|
||||
type = types.str;
|
||||
default = (findFirst (elem: elem.prefix == "secretPath") { path = "/secret"; } builtins.nixPath).path;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue