API controlled timezone, autoupgrades and SSH keys

This commit is contained in:
Inex Code
2021-11-22 19:53:43 +03:00
parent a71fd79588
commit 255ea374c0
5 changed files with 74 additions and 14 deletions

View File

@@ -3,6 +3,17 @@
"$id": "https://git.selfprivacy.org/inex/selfprivacy-nixos-config/raw/branch/master/userdata/schema.json",
"type": "object",
"properties": {
"autoUpgrade": {
"type": "object",
"properties": {
"enable": {
"type": "boolean"
},
"allowReboot": {
"type": "boolean"
}
}
},
"hostname": {
"type": "string"
},
@@ -15,6 +26,12 @@
"hashedMasterPassword": {
"type": "string"
},
"sshKeys": {
"type": "array",
"items": {
"type": "string"
}
},
"timezone": {
"type": "string"
},