nix-config/modules/default/nixos/sops.nix
2025-02-09 16:49:24 +01:00

20 lines
327 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";
};
}