use the sops home manager module

This commit is contained in:
Rouven Seifert 2023-02-26 01:02:01 +01:00
parent a06384c5d3
commit 5408a5ee19
Signed by: rouven.seifert
GPG key ID: B95E8FE6B11C4D09
8 changed files with 79 additions and 21 deletions

View file

@ -0,0 +1,8 @@
{ config, ... }:
{
sops = {
age.sshKeyPaths = [ "/home/${config.home.username}/.ssh/id_ed25519" ];
age.generateKey = false;
defaultSopsFile = ../../../../secrets/${config.home.username}.yaml;
};
}