Add sops secrets file per user

This commit is contained in:
Pim Kunis 2024-11-21 21:10:24 +01:00
parent 9d1a695e3a
commit a5be4ddbb2
6 changed files with 5 additions and 5 deletions

View file

@ -39,7 +39,7 @@ in {
};
pim-sops-age-key = {
keyCommand = ["sudo" sops "--extract" "[\"sops_age_key\"]" "-d" "${self}/machines/gamepc/home.sops.yaml"];
keyCommand = ["sudo" sops "--extract" "[\"sops_age_key\"]" "-d" "${self}/machines/gamepc/pim.sops.yaml"];
name = "keys.txt";
destDir = "/home/pim/.config/sops/age";
user = "pim";