nixos/user/sops/default.nix
2024-12-04 16:27:03 +01:00

8 lines
153 B
Nix

{ user, ... }:
{
sops = {
age.keyFile = "/home/${user}/.config/sops/age/keys.txt";
defaultSopsFile = ../../secrets/${user}/secret.yaml;
};
}