{config, ...}: { config = { gnupg = { enable = true; dir.var = toString ../../../sec/gnupg; keys = { "Julien Moutinho " = { uid = "Julien Moutinho "; algo = "rsa4096"; expire = "3y"; usage = ["cert" "sign"]; passPath = "members/julm/gpg/password"; subKeys = [ { algo = "rsa4096"; expire = "3y"; usage = ["sign"];} { algo = "rsa4096"; expire = "3y"; usage = ["encrypt"];} { algo = "rsa4096"; expire = "3y"; usage = ["auth"];} ]; backupRecipients = [""]; }; }; }; }; }