feat: Added stuff

This commit is contained in:
uttarayan21
2024-12-06 14:31:14 +05:30
parent 27c7d5dea6
commit 18af45f09e
8 changed files with 80 additions and 16 deletions

17
common/sops.nix Normal file
View File

@@ -0,0 +1,17 @@
{
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" = {};
};
}