flocon/hosts/common/sops.nix

14 lines
296 B
Nix

{
hostname,
username,
...
}: {
sops = {
defaultSopsFile = ../../secrets/secrets.yaml;
defaultSopsFormat = "yaml";
age.keyFile = "/home/${username}/.config/sops/age/keys.txt";
secrets."syncthing/${hostname}/key" = {};
secrets."syncthing/${hostname}/cert" = {};
};
}