nixos-config: python app writes userdata.json
parent
d5a4b255df
commit
cbfbee3123
|
@ -8,17 +8,16 @@
|
|||
'/
|
||||
|
||||
cloud "overlay\n<i>commit @ git.selfprivacy.org" as overlay {
|
||||
component "selfprivacy graphql api" as selfprivacy_graphql_api
|
||||
node "selfprivacy graphql api" as selfprivacy_graphql_api
|
||||
}
|
||||
|
||||
cloud "selfprivacy-rest-api\n<i>commit @ git.selfprivacy.org" as selfprivacy_rest_api_commit {
|
||||
component "python app" as selfprivacy_api_app
|
||||
}
|
||||
|
||||
control "client app" as client_app
|
||||
:user: .. client_app
|
||||
selfprivacy_api_app . client_app
|
||||
selfprivacy_graphql_api <<-- selfprivacy_rest_api_commit
|
||||
/'
|
||||
' selfprivacy_rest_api_commit ->> selfprivacy_graphql_api
|
||||
'/
|
||||
|
||||
|
||||
file "hardware-configuration.nix" as hardware_configuration
|
||||
|
@ -71,7 +70,7 @@ file "letsencrypt/acme.nix\nletsencrypt/resolve.nix" as acme
|
|||
' file "webserver/nginx.nix" as nginx
|
||||
' file "webserver/memcached.nix" as memcached
|
||||
'/
|
||||
component "<<some service X>>" as some_service
|
||||
collections "<<some service X.nix>>" as some_service
|
||||
cloud " <b>nixpkgs\n<i>commit @ github.com (?)" as nixpkgs
|
||||
|
||||
|
||||
|
@ -82,6 +81,7 @@ folder """/etc/nixos/userdata/""" as userdata_folder {
|
|||
file "<b>userdata.json" as userdata
|
||||
}
|
||||
selfprivacy_api_app <|.... tokens
|
||||
selfprivacy_api_app ....|> userdata : writes
|
||||
|
||||
file "<b><u>configuration.nix" as configuration
|
||||
nixpkgs -->> configuration
|
||||
|
|
Loading…
Reference in New Issue