nix-config/modules/sops/default.nix
2025-05-30 21:10:10 +02:00

20 lines
324 B
Nix

{ ... }:
{
sops.defaultSopsFile = ../../secrets/secrets.yaml;
sops.defaultSopsFormat = "yaml";
sops.age.keyFile = "/etc/sops/keys.txt";
sops.secrets."root_ssh" = {
owner = "root";
path = "/root/.ssh/id_rsa";
};
sops.secrets."syncthing/password" = {
mode = "440";
owner = "willifan";
};
}