about summary refs log tree commit diff
path: root/ops/nixos/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-07-02T18·19+0100
committertazjin <mail@tazj.in>2020-07-02T18·32+0000
commit62dd3fdc3cda84b0eab6e59672ca97db2806e3b7 (patch)
tree6bcd9f60aeba61fffc5114227c9771696e635506 /ops/nixos/default.nix
parent3ed1da6b2425948424bc33597a1afe81ead8775d (diff)
feat(nixos/whitby): Hello, World! r/1160
This adds NixOS configuration for the machine whitby.tvl.fyi.

No interesting services are configured yet, so this configuration is
quite plain.

Change-Id: I67b7c75ebd6e298719b52e6b3bd83cc3be3c45d8
Reviewed-on: https://cl.tvl.fyi/c/depot/+/843
Tested-by: BuildkiteCI
Reviewed-by: BuildkiteCI
Reviewed-by: isomer <isomer@tvl.fyi>
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'ops/nixos/default.nix')
-rw-r--r--ops/nixos/default.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/ops/nixos/default.nix b/ops/nixos/default.nix
new file mode 100644
index 000000000000..a0d7630d00e0
--- /dev/null
+++ b/ops/nixos/default.nix
@@ -0,0 +1,13 @@
+# Most of the Nix expressions in this folder are NixOS modules, which
+# are not readTree compatible.
+#
+# Some things (such as system configurations) are, and we import them
+# here manually.
+#
+# TODO(tazjin): Find a more elegant solution for the whole module
+# situation.
+{ ... }@args:
+
+{
+  whitby = import ./whitby/default.nix args;
+}