mirror of
https://github.com/nix-community/nixos-generators.git
synced 2024-11-25 19:07:59 +03:00
32f0192366
- kexec + kexec-bundle: tries accessing <nixpkgs> - cloudstack: module eval error
27 lines
534 B
Nix
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";
|
|
}
|