feat(agenix): use host keys for decryption
This commit is contained in:
@@ -1,15 +1,4 @@
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
let
|
||||
keys = builtins.map (
|
||||
key: builtins.toString (pkgs.writeText "agenix-key" key)
|
||||
) config.kekleo.publicKeys;
|
||||
in
|
||||
{
|
||||
age.identityPaths = keys;
|
||||
age.secrets.nc_customer = {
|
||||
file = ./nc_customer.age;
|
||||
owner = "dyndns";
|
||||
|
||||
Reference in New Issue
Block a user