2021-02-22 18:59:37 +01:00
|
|
|
{ pkgs, lib, config, ... }:
|
2021-02-14 13:42:43 +01:00
|
|
|
with lib;
|
|
|
|
{
|
|
|
|
options.my.secrets = mkOption {
|
|
|
|
type = types.attrs;
|
|
|
|
};
|
|
|
|
|
|
|
|
config.my.secrets = {
|
|
|
|
matrix-registration-shared-secret = lib.fileContents ./matrix-registration-shared-secret.secret;
|
|
|
|
shadow-hashed-password-alarsyo = lib.fileContents ./shadow-hashed-password-alarsyo.secret;
|
|
|
|
shadow-hashed-password-root = lib.fileContents ./shadow-hashed-password-root.secret;
|
|
|
|
miniflux-admin-credentials = lib.fileContents ./miniflux-admin-credentials.secret;
|
2021-02-19 22:29:04 +01:00
|
|
|
transmission-password = lib.fileContents ./transmission.secret;
|
2021-03-23 19:31:59 +01:00
|
|
|
nextcloud-admin-pass = lib.fileContents ./nextcloud-admin-pass.secret;
|
|
|
|
nextcloud-admin-user = lib.fileContents ./nextcloud-admin-user.secret;
|
2021-04-08 02:19:54 +02:00
|
|
|
lohr-shared-secret = lib.fileContents ./lohr-shared-secret.secret;
|
2021-07-13 00:57:33 +02:00
|
|
|
gandiKey = lib.fileContents ./gandi-api-key.secret;
|
2021-02-22 18:59:37 +01:00
|
|
|
|
2021-04-23 19:24:54 +02:00
|
|
|
borg-backup = import ./borg-backup { inherit lib; };
|
2021-08-09 19:34:23 +02:00
|
|
|
restic-backup = import ./restic-backup { inherit lib; };
|
2021-04-23 19:24:54 +02:00
|
|
|
|
2021-06-09 14:53:11 +02:00
|
|
|
matrixEmailConfig = import ./matrix-email-config.nix;
|
2021-02-14 13:42:43 +01:00
|
|
|
};
|
|
|
|
}
|