Compare commits

...

2 Commits

Author SHA1 Message Date
Alexander Tomokhov 5fc4648b46 nixos-config: delete schema files 2023-07-15 15:53:37 +04:00
Alexander Tomokhov cbfbee3123 nixos-config: python app writes userdata.json 2023-07-15 15:37:24 +04:00
1 changed files with 11 additions and 9 deletions

View File

@ -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
@ -29,7 +28,7 @@ card "fileSystems" as hw_fileSystems
hardware_configuration <-- hw_grub_device
hardware_configuration <-- hw_kernelModules
hardware_configuration <-- hw_fileSystems
note top of hardware_configuration : what generates it?
note top of hardware_configuration : how is it generated?
note bottom of hw_fileSystems : always the same?
@ -71,17 +70,20 @@ 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
folder """/etc/nixos/userdata/""" as userdata_folder {
file "schema.json\n<i>(who uses?)" as schema
/'
' file "schema.json\n<i>(who uses?)" as schema
' file "tokens_schema.json\n<i>(who uses?)" as tokens_schema
'/
file "tokens.json" as tokens
file "tokens_schema.json\n<i>(who uses?)" as tokens_schema
file "<b>userdata.json" as userdata
}
selfprivacy_api_app <|.... tokens
selfprivacy_api_app ....|> userdata_folder : writes
file "<b><u>configuration.nix" as configuration
nixpkgs -->> configuration