flocon/hosts/common/sops.nix

11 lines
289 B
Nix
Raw Normal View History

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