Export secrets properly

This commit is contained in:
Manuel Thalmann 2024-05-16 02:19:06 +02:00
parent 1349352997
commit 7693faf903

View file

@ -99,7 +99,7 @@ let
secretsScript = lib.strings.concatLines
(builtins.attrValues (
builtins.mapAttrs
(name: path: "${name}=\"$(cat ${lib.escapeShellArg path})\"")
(name: path: "export ${name}=\"$(cat ${lib.escapeShellArg path})\"")
config.secrets));
};
});