about summary refs log tree commit diff
path: root/ops/yandex-base-image/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@tvl.su>2023-10-08T15·55+0300
committertazjin <tazjin@tvl.su>2023-10-08T18·13+0000
commit8b2884de095b70fa680f4c094b80ccd39c9df986 (patch)
tree3d41277bc1e54d9a5fb60cb512c27c363650ee12 /ops/yandex-base-image/default.nix
parent713a70d15457c46a281c71e2ebb98e6981c91798 (diff)
chore(ops): move yandex-base-image to //ops and bake in keys r/6731
Change-Id: I607af1fc41c1f6ee24eed1386a23663346c3acc2
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9574
Reviewed-by: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'ops/yandex-base-image/default.nix')
-rw-r--r--ops/yandex-base-image/default.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/ops/yandex-base-image/default.nix b/ops/yandex-base-image/default.nix
new file mode 100644
index 000000000000..3dc4b8f5892d
--- /dev/null
+++ b/ops/yandex-base-image/default.nix
@@ -0,0 +1,9 @@
+# Base image for Yandex Cloud VMs.
+{ depot, ... }:
+
+(depot.ops.nixos.nixosFor {
+  imports = [
+    (depot.path.origSrc + ("/ops/modules/yandex-cloud.nix"))
+    (depot.path.origSrc + ("/ops/modules/tvl-users.nix"))
+  ];
+}).config.system.build.yandexCloudImage