This commit is contained in:
Shelvacu
2024-07-01 20:30:38 -07:00
parent 35edf8667b
commit df117c4eed

View File

@@ -44,7 +44,7 @@
sopsTestSecretsYaml = pkgs.writeText "test-secrets-plain.json.yaml" (builtins.toJSON sopsTestSecrets);
sopsTestSecretsFolder = pkgs.runCommand "test-secrets-encrypted" {} ''
mkdir -p $out/liam
SOPS_AGE_KEY="${testAgeSecret}" ${pkgs.sops}/bin/sops -e --age "$(echo "${testAgeSecret}" | ${pkgs.age}/bin/age-keygen -y)" ${sopsTestSecretsYaml} --output $out/liam/main.yaml
SOPS_AGE_KEY="${testAgeSecret}" ${pkgs.sops}/bin/sops -vv -e --age "$(echo "${testAgeSecret}" | ${pkgs.age}/bin/age-keygen -y)" ${sopsTestSecretsYaml} --output $out/liam/main.yaml
'';
in {
name = "liam-receives-mail";