flocon/hosts/common/sops.nix

15 lines
296 B
Nix
Raw Normal View History

2024-08-25 19:58:12 +00:00
{
2024-09-24 21:47:52 +00:00
hostname,
username,
...
}: {
2024-09-25 07:02:43 +00:00
sops = {
defaultSopsFile = ../../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
age.keyFile = "/home/${username}/.config/sops/age/keys.txt";
2024-08-25 19:58:12 +00:00
2024-09-25 07:02:43 +00:00
secrets."syncthing/${hostname}/key" = {};
secrets."syncthing/${hostname}/cert" = {};
};
2024-08-25 19:58:12 +00:00
}