nixos/nixos/modules/sops.nix

10 lines
214 B
Nix

{rootPath, ...}: {
config = {
sops.defaultSopsFile = rootPath + "/secrets/general.yaml";
sops.age = {
keyFile = "/var/sops/key.txt";
sshKeyPaths = [];
generateKey = false;
};
};
}