nix-config/modules/default/common/sops.nix
2024-12-29 01:25:24 +01:00

19 lines
325 B
Nix

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