blob: 49264c23c3222d2d562d0ce91b1bcf64ffdd9f89 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
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+`.
|