diff options
author | illustris <rharikrishnan95@gmail.com> | 2022-05-08 23:28:05 +0530 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2022-07-13 10:44:41 +0200 |
commit | 26c66bc7c8cec6008427d10a2e97b2862f4a3475 (patch) | |
tree | 4b78dcac8c89438286fa52a621af133bdedab897 /nixos/release.nix | |
parent | f60f16550174e9772b5285795face7397dca1139 (diff) |
nixos/release: add proxmox LXC and VMA
Diffstat (limited to 'nixos/release.nix')
-rw-r--r-- | nixos/release.nix | 23 |
1 files changed, 23 insertions, 0 deletions
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: |