Export secrets properly
This commit is contained in:
parent
1349352997
commit
7693faf903
|
@ -99,7 +99,7 @@ let
|
||||||
secretsScript = lib.strings.concatLines
|
secretsScript = lib.strings.concatLines
|
||||||
(builtins.attrValues (
|
(builtins.attrValues (
|
||||||
builtins.mapAttrs
|
builtins.mapAttrs
|
||||||
(name: path: "${name}=\"$(cat ${lib.escapeShellArg path})\"")
|
(name: path: "export ${name}=\"$(cat ${lib.escapeShellArg path})\"")
|
||||||
config.secrets));
|
config.secrets));
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue