nixos-generators/formats-broken/cloudstack.nix
DavHau 32f0192366 move some broken formats to ./formats-broken
- kexec + kexec-bundle: tries accessing <nixpkgs>
- cloudstack: module eval error
2023-05-29 11:08:44 +02:00

27 lines
534 B
Nix

{
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
"${toString modulesPath}/virtualisation/cloudstack-config.nix"
];
system.build.cloudstackImage = import "${toString modulesPath}/../lib/make-disk-image.nix" {
inherit lib config pkgs;
diskSize = 8192;
format = "qcow2";
configFile =
pkgs.writeText "configuration.nix"
''
{
imports = [ "${toString modulesPath}/virtualisation/cloudstack-config.nix" ];
}
'';
};
formatAttr = "cloudstackImage";
}