mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-config.git
synced 2024-11-25 12:31:27 +00:00
Add README
This commit is contained in:
parent
ebea4b1821
commit
05627a1dc9
59
README.md
Normal file
59
README.md
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
# SelfPrivacy NixOS configuration
|
||||||
|
|
||||||
|
This is a NixOS config which builds a SelfPrivacy server distribution
|
||||||
|
based on data provided in `userdata/userdata.json`.
|
||||||
|
|
||||||
|
JSON schema is provided in `userdata/schema.json` for reference.
|
||||||
|
|
||||||
|
**hardware-configuration.nix is not included.**
|
||||||
|
|
||||||
|
Example JSON config:
|
||||||
|
|
||||||
|
```json
|
||||||
|
{
|
||||||
|
"backblaze": {
|
||||||
|
"accountId": "KEY ID",
|
||||||
|
"accountKey": "KEY",
|
||||||
|
"bucket": "selfprivacy"
|
||||||
|
},
|
||||||
|
"bitwarden": {
|
||||||
|
"enable": true
|
||||||
|
},
|
||||||
|
"cloudflare": {
|
||||||
|
"apiKey": "KEY"
|
||||||
|
},
|
||||||
|
"databasePassword": "PASSWORD",
|
||||||
|
"domain": "meow-corp.xyz",
|
||||||
|
"hashedMasterPassword": "HASHED PASSWORD",
|
||||||
|
"hostname": "meow-corp",
|
||||||
|
"nextcloud": {
|
||||||
|
"enable": true,
|
||||||
|
"adminPassword": "PASS",
|
||||||
|
"databasePassword": "PASS"
|
||||||
|
},
|
||||||
|
"gitea": {
|
||||||
|
"enable": true
|
||||||
|
},
|
||||||
|
"jitsi": {
|
||||||
|
"enable": true
|
||||||
|
},
|
||||||
|
"ocserv": {
|
||||||
|
"enable": true
|
||||||
|
},
|
||||||
|
"pleroma": {
|
||||||
|
"enable": true
|
||||||
|
},
|
||||||
|
"timezone": "Europe/Moscow",
|
||||||
|
"resticPassword": "PASS",
|
||||||
|
"rootSshKeys": [
|
||||||
|
"ssh-ed25519 KEY user@host"
|
||||||
|
],
|
||||||
|
"username": "owner",
|
||||||
|
"users": [
|
||||||
|
{
|
||||||
|
"hashedPassword": "HASHED PASSWORD",
|
||||||
|
"username": "tester"
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
||||||
|
```
|
Loading…
Reference in a new issue