Files
dotfiles/common/sops.nix
2024-12-06 14:31:14 +05:30

18 lines
349 B
Nix

{
config,
pkgs,
inputs,
...
}: {
imports = [
inputs.sops-nix.homeManagerModules.sops
];
sops = {
defaultSopsFile = ../../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/keys.txt";
secrets."llama/api_key" = {};
secrets."openai/api_key" = {};
};
}