1 # nix-build '<nixpkgs/nixos>' -A config.system.build.cloudstackImage --arg configuration "{ imports = [ ./nixos/maintainers/scripts/cloudstack/cloudstack-image.nix ]; }"
3 { config, lib, pkgs, ... }:
7 [ ../../../modules/virtualisation/cloudstack-config.nix ];
9 system.build.cloudstackImage = import ../../../lib/make-disk-image.nix {
10 inherit lib config pkgs;
12 configFile = pkgs.writeText "configuration.nix"
15 imports = [ <nixpkgs/nixos/modules/virtualisation/cloudstack-config.nix> ];