nixos-config/users/rouven/modules/sops/default.nix

9 lines
213 B
Nix
Raw Normal View History

2023-02-26 01:02:01 +01:00
{ config, ... }:
{
sops = {
age.sshKeyPaths = [ "/home/${config.home.username}/.ssh/id_ed25519" ];
age.generateKey = false;
defaultSopsFile = ../../../../secrets/${config.home.username}.yaml;
};
}