nixos/user/sops/default.nix
2024-03-18 12:58:34 +01:00

7 lines
153 B
Nix

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