1

Modules/Sops: Set SOPS_AGE_KEY_FILE for "sops edit secrets.yaml"

This commit is contained in:
2025-07-09 18:40:37 +02:00
parent 2578d64259
commit 507ac0f8bd

View File

@ -17,6 +17,11 @@ in {
ssh-to-age
];
environment.variables = {
# Set this environment variable to make "sops edit secrets.yaml" work
SOPS_AGE_KEY_FILE = config.sops.age.keyFile;
};
sops = {
defaultSopsFile = ./secrets.yaml;