infrastructure/nixos-configurations/secrets.nix

12 lines
274 B
Nix
Raw Normal View History

2024-10-02 15:52:04 +02:00
{ inputs, ... }:
{
sops.secrets =
let
allHostsSecretsFile = "${inputs.private}/nixos-configurations/secrets.sops.yaml";
in
{
"msmtp/password".sopsFile = allHostsSecretsFile;
"wgautomesh/gossip-secret".sopsFile = allHostsSecretsFile;
};
}