aboutsummaryrefslogtreecommitdiff
path: root/README.adoc
diff options
context:
space:
mode:
authorMax Audron <audron@cocaine.farm>2025-11-15 00:07:17 +0100
committerMax Audron <audron@cocaine.farm>2025-11-15 00:07:17 +0100
commitcb486ef0c0ba2d453b91ea87f82020a66532e184 (patch)
tree3a896a172eb21641335d3ad277fd189cd6244eb3 /README.adoc
parentfixup vapor.systems cgit (diff)
add readme
Diffstat (limited to '')
-rw-r--r--README.adoc37
1 files changed, 37 insertions, 0 deletions
diff --git a/README.adoc b/README.adoc
new file mode 100644
index 0000000..d6ce7fa
--- /dev/null
+++ b/README.adoc
@@ -0,0 +1,37 @@
+= vapor.systems nixos configuration
+
+All our server configuration managed by a git flake.
+
+== Structure
+
+* lib: library functions
+* machines: hardware definitions for each server
+* modules: service slices for specific purposes
+* pkgs: custom package definitons
+* secrets: submodule for sensitive information
+* flake.nix: main entrypoint
+
+== Servers
+
+* ettves: main server for webshit & games
+* phaenn: storage server for media
+* DNS & CDN:
+ * fra01.ns
+ * nyc01.ns
+ * sin01.ns
+
+== Usage
+
+This project uses a slightly modified version of https://github.com/maxaudron/nixinate[nixinate] to
+provide easy to use deployment scripts. You can show what is available to run with `+nix flake
+show+`. One caveat exists: to include the required secrets submodule you have to invoke nix run like
+this:
+
+[,shell]
+----
+$ nix run '.?submodules=1#ettves'
+----
+
+Each server each server has three targets `+server+`, `+server-boot+` and `+server-dry-run+` that
+each correspond to `+nixos-rebuild switch+`, `+boot+` and `+dry-run+`.
+