13 lines
399 B
Nix
13 lines
399 B
Nix
{ config, pkgs, ... }:
|
|
{
|
|
sops = {
|
|
defaultSopsFile = ../secrets/secrets.yaml;
|
|
validateSopsFiles = false;
|
|
age.sshKeyPaths = [ "${config.home.homeDirectory}/.ssh/nixos" ];
|
|
age.keyFile = "${config.home.homeDirectory}/.config/sops/age/key.txt";
|
|
age.generateKey = true;
|
|
# This is the actual specification of the secrets.
|
|
#secrets."myservice/my_subdir/my_secret" = {};
|
|
};
|
|
}
|