1
1
Fork 0
mirror of https://git.sr.ht/~rouven/nixos-config synced 2025-03-01 20:50:55 +01:00
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;
};
}