feat: Don't use hardcoded home dir for sops

This commit is contained in:
uttarayan21
2024-12-14 04:20:59 +05:30
parent 94715cf331
commit 6449d2c52f

View File

@@ -10,7 +10,7 @@
sops = { sops = {
defaultSopsFile = ../secrets/secrets.yaml; defaultSopsFile = ../secrets/secrets.yaml;
defaultSopsFormat = "yaml"; defaultSopsFormat = "yaml";
age.keyFile = "/Users/fs0c131y/.config/sops/age/keys.txt"; age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
secrets."llama/api_key" = {}; secrets."llama/api_key" = {};
secrets."openai/api_key" = {}; secrets."openai/api_key" = {};
}; };