nix-config/modules/default/common/sops.nix
2025-01-01 22:16:40 +01:00

19 lines
303 B
Nix

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