nix-config/modules/common/sops.nix
2024-12-23 01:06:20 +01:00

21 lines
356 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";
group = "syncthing";
};
users.groups.syncthing = { };
}