From 824fccd3e90cf75d5e2968fef2392f70e04d9f9c Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 16 Feb 2015 09:56:08 +0000 Subject: 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 213fe8427c5ce455b893c0c5c56cc38175bf36b7) --- nixos/modules/virtualisation/amazon-options.nix | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 nixos/modules/virtualisation/amazon-options.nix (limited to 'nixos/modules/virtualisation/amazon-options.nix') diff --git a/nixos/modules/virtualisation/amazon-options.nix b/nixos/modules/virtualisation/amazon-options.nix new file mode 100644 index 00000000000..34a50dcab16 --- /dev/null +++ b/nixos/modules/virtualisation/amazon-options.nix @@ -0,0 +1,16 @@ +{ config, lib, pkgs, ... }: +{ + options = { + ec2 = { + hvm = lib.mkOption { + default = false; + internal = true; + description = '' + Whether the EC2 instance is a HVM instance. + ''; + }; + }; + }; + + config = {}; +} -- cgit 1.4.1