nixos-config/hosts/poseidon/secrets.nix

37 lines
833 B
Nix
Raw Normal View History

2022-02-07 17:16:52 +01:00
{ config, lib, options, ... }:
{
config.age = {
secrets =
let
toSecret = name: { ... }@attrs: {
file = ./../../modules/secrets + "/${name}.age";
} // attrs;
in
lib.mapAttrs toSecret {
2022-03-11 17:10:44 +01:00
"gandi/api-key" = {};
2022-03-11 17:26:54 +01:00
"lohr/shared-secret" = {};
2022-03-11 17:42:16 +01:00
"matrix-synapse/secret-config" = {
owner = "matrix-synapse";
};
2022-03-11 18:47:53 +01:00
"miniflux/admin-credentials" = {};
"nextcloud/admin-pass" = {
owner = "nextcloud";
};
"paperless/admin-password" = {};
"paperless/secret-key" = {};
"restic-backup/poseidon-credentials" = {};
"restic-backup/poseidon-password" = {};
2022-02-07 17:16:52 +01:00
"users/alarsyo-hashed-password" = {};
"users/root-hashed-password" = {};
};
};
}