mirror of
https://github.com/nix-community/nix-on-droid.git
synced 2025-11-08 19:46:07 +01:00
nix: Rename extraConfig to extraOptions
This commit is contained in:
parent
6c59137a11
commit
2ad1fd7f68
1 changed files with 3 additions and 2 deletions
|
|
@ -20,6 +20,7 @@ in
|
|||
imports = [
|
||||
(renameNixOpt "binaryCaches" "substituters")
|
||||
(renameNixOpt "binaryCachePublicKeys" "trustedPublicKeys")
|
||||
(renameNixOpt "extraConfig" "extraOptions")
|
||||
];
|
||||
|
||||
###### interface
|
||||
|
|
@ -124,7 +125,7 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
extraConfig = mkOption {
|
||||
extraOptions = mkOption {
|
||||
type = types.lines;
|
||||
default = "";
|
||||
description = "Extra config to be appended to /etc/nix/nix.conf.";
|
||||
|
|
@ -143,7 +144,7 @@ in
|
|||
sandbox = false
|
||||
substituters = ${concatStringsSep " " cfg.substituters}
|
||||
trusted-public-keys = ${concatStringsSep " " cfg.trustedPublicKeys}
|
||||
${cfg.extraConfig}
|
||||
${cfg.extraOptions}
|
||||
'';
|
||||
|
||||
"nix/registry.json".text = builtins.toJSON {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue