about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-08-26T22·58+0100
committertazjin <mail@tazj.in>2020-08-26T23·49+0000
commit5ad61ee4080b1d5e4804e498dadeb4b64889da2b (patch)
treee07bbcac4611a67c3d4fa317a40655b278d8a601 /ops/nixos
parenteb3c4a3c1198e2bc4af80b9a1970e00ae901e436 (diff)
chore: Add __readTree attributes on systems that need to be built r/1723
This is a temporary state (TODO added) to be picked up by the new CI
logic.

Change-Id: Id4702740ffd18325088e2a8a0c6157a8cee7ccf7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/1852
Tested-by: BuildkiteCI
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'ops/nixos')
-rw-r--r--ops/nixos/default.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/ops/nixos/default.nix b/ops/nixos/default.nix
index 40431a79afaf..407e667f42ba 100644
--- a/ops/nixos/default.nix
+++ b/ops/nixos/default.nix
@@ -42,4 +42,10 @@ rec {
     nix-env -p /nix/var/nix/profiles/system --set $system
     $system/bin/switch-to-configuration switch
   '';
+
+  # Systems that should be built in CI
+  #
+  # TODO(tazjin): Refactor the whole systems setup, it's a bit
+  # inconsistent at the moment.
+  whitbySystem = (nixosFor whitby).system // { __readTree = true; };
 }