1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-06-20 16:39:31 +03:00

Move amazon option out of amazon-image.nix, needed to make ec2.hvm usable from nixops, without breaking evaluation for other backends.

(cherry picked from commit 213fe8427c)
This commit is contained in:
Rob Vermaas 2015-02-16 09:56:08 +00:00
parent 85e2076a0b
commit 824fccd3e9
3 changed files with 17 additions and 12 deletions

View file

@ -7,17 +7,6 @@ in
{
imports = [ ../profiles/headless.nix ./ec2-data.nix ];
options = {
ec2 = {
hvm = mkOption {
default = false;
description = ''
Whether the EC2 instance is a HVM instance.
'';
};
};
};
config = {
system.build.amazonImage =
pkgs.vmTools.runInLinuxVM (