un-generators

Signed-off-by: Kiara Grouwstra <kiara@procolix.eu>
This commit is contained in:
Kiara Grouwstra 2025-10-13 14:16:45 +02:00
parent b5d2b2cb87
commit 98d8a91a80
Signed by: kiara
SSH key fingerprint: SHA256:COspvLoLJ5WC5rFb9ZDe5urVCkK4LJZOsjfF4duRJFU

View file

@ -286,32 +286,7 @@ let
};
tf-proxmox-host = mkOption {
description = "A Terraform deployment by SSH to update a single existing NixOS host.";
# type = submodule (tf-host: {
type = submodule (
tf-host:
let
# raw = {
# # formatConfig = "${pkgs.nixos-generators}/share/nixos-generator/formats/raw.nix";
# formatConfig = "${pkgs.nixos-generators}/share/nixos-generator/formats/raw-efi.nix";
# formatAttr = "raw";
# fileExtension = ".img";
# };
# format = raw;
# qcow = {
# formatConfig = "${pkgs.nixos-generators}/share/nixos-generator/formats/qcow.nix";
# formatAttr = "qcow";
# fileExtension = ".qcow2";
# };
# format = qcow;
# qcow-efi = {
# formatConfig = "${pkgs.nixos-generators}/share/nixos-generator/formats/qcow-efi.nix";
# formatAttr = "qcow-efi";
# fileExtension = ".qcow2";
# };
# format = qcow-efi;
# inherit (format) formatConfig fileExtension formatAttr;
in
{
type = submodule (tf-host: {
options = {
system = mkOption {
description = "The architecture of the system to deploy to.";
@ -509,8 +484,7 @@ let
# qemu-img convert -f raw -O qcow2 -C "${machine.config.system.build.image}/${name}.raw" /tmp/${name}.qcow2
};
};
}
);
});
};
};
in