nix-config/modules/DEFAULT/COMMON/sops.nix
2024-12-26 16:51:37 +01:00

21 lines
359 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 = { };
}