flocon/hosts/common/sops.nix

13 lines
295 B
Nix
Raw Normal View History

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