2022-06-10 16:56:15 +02:00
|
|
|
{
|
|
|
|
config,
|
|
|
|
lib,
|
|
|
|
options,
|
|
|
|
...
|
|
|
|
}: {
|
|
|
|
config.age = {
|
|
|
|
secrets = let
|
|
|
|
toSecret = name: {...} @ attrs:
|
|
|
|
{
|
|
|
|
file = ./../../modules/secrets + "/${name}.age";
|
|
|
|
}
|
|
|
|
// attrs;
|
|
|
|
in
|
|
|
|
lib.mapAttrs toSecret {
|
2022-06-12 17:59:41 +02:00
|
|
|
"gandi/api-key" = {};
|
|
|
|
|
2022-06-12 20:17:08 +02:00
|
|
|
"matrix-synapse/secret-config" = {
|
|
|
|
owner = "matrix-synapse";
|
|
|
|
};
|
|
|
|
|
2022-06-12 17:59:41 +02:00
|
|
|
"miniflux/admin-credentials" = {};
|
|
|
|
|
2022-10-27 12:25:33 +02:00
|
|
|
"nextcloud/admin-pass" = {
|
|
|
|
owner = "nextcloud";
|
|
|
|
};
|
|
|
|
|
2022-11-05 16:15:33 +01:00
|
|
|
"paperless/admin-password" = {};
|
|
|
|
"paperless/secret-key" = {};
|
|
|
|
|
2022-11-07 22:37:52 +01:00
|
|
|
"pleroma/pleroma-config" = {};
|
|
|
|
|
2022-06-12 15:33:59 +02:00
|
|
|
"restic-backup/hades-credentials" = {};
|
|
|
|
"restic-backup/hades-password" = {};
|
|
|
|
|
2022-06-10 16:56:15 +02:00
|
|
|
"users/alarsyo-hashed-password" = {};
|
|
|
|
"users/root-hashed-password" = {};
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|