From 26c66bc7c8cec6008427d10a2e97b2862f4a3475 Mon Sep 17 00:00:00 2001 From: illustris Date: Sun, 8 May 2022 23:28:05 +0530 Subject: [PATCH] nixos/release: add proxmox LXC and VMA --- nixos/release.nix | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/nixos/release.nix b/nixos/release.nix index f533aebf34c1..f70b02c4292b 100644 --- a/nixos/release.nix +++ b/nixos/release.nix @@ -221,6 +221,29 @@ in rec { ); + # KVM image for proxmox in VMA format + proxmoxImage = forMatchingSystems [ "x86_64-linux" ] (system: + with import ./.. { inherit system; }; + + hydraJob ((import lib/eval-config.nix { + inherit system; + modules = [ + ./modules/virtualisation/proxmox-image.nix + ]; + }).config.system.build.VMA) + ); + + # LXC tarball for proxmox + proxmoxLXC = forMatchingSystems [ "x86_64-linux" ] (system: + with import ./.. { inherit system; }; + + hydraJob ((import lib/eval-config.nix { + inherit system; + modules = [ + ./modules/virtualisation/proxmox-lxc.nix + ]; + }).config.system.build.tarball) + ); # A disk image that can be imported to Amazon EC2 and registered as an AMI amazonImage = forMatchingSystems [ "x86_64-linux" "aarch64-linux" ] (system: