about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--corp/ops/default.nix9
-rw-r--r--ops/yandex-base-image/default.nix9
2 files changed, 9 insertions, 9 deletions
diff --git a/corp/ops/default.nix b/corp/ops/default.nix
index 213cb8dcc9..c88b3bdc1c 100644
--- a/corp/ops/default.nix
+++ b/corp/ops/default.nix
@@ -34,13 +34,4 @@ depot.nix.readTree.drvTargets rec {
 
     yc.attr = "corp.ops.yc-cli";
   };
-
-  # Base image for Yandex VMs.
-  yandex-base-image = (depot.third_party.nixos {
-    configuration = { ... }: {
-      imports = [
-        (depot.path.origSrc + ("/ops/modules/yandex-cloud.nix"))
-      ];
-    };
-  }).config.system.build.yandexCloudImage;
 }
diff --git a/ops/yandex-base-image/default.nix b/ops/yandex-base-image/default.nix
new file mode 100644
index 0000000000..3dc4b8f589
--- /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