feat(userdata): Support for newer JSON schema of provider

This commit is contained in:
Inex Code
2022-11-08 01:44:09 +03:00
parent e4ba827d5a
commit 7a6f57def8
3 changed files with 24 additions and 6 deletions

View File

@@ -85,12 +85,24 @@ in
#############
# Secrets #
#############
backblaze = {
dns = {
provider = mkOption {
description = "DNS provider that was defined at the initial setup process. Default is ClOUDFLARE";
type = types.nullOr types.str;
};
};
backup = {
bucket = mkOption {
description = "Bucket name used for userdata backups";
type = types.nullOr types.str;
};
};
server = {
provider = mkOption {
description = "Server provider that was defined at the initial setup process. Default is HETZNER";
type = types.nullOr types.str;
};
};
##############
# Services #
##############