diff options
-rw-r--r-- | corp/ops/default.nix | 9 | ||||
-rw-r--r-- | ops/yandex-base-image/default.nix | 9 |
2 files changed, 9 insertions, 9 deletions
diff --git a/corp/ops/default.nix b/corp/ops/default.nix index 213cb8dcc9a7..c88b3bdc1c71 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 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 |