mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
96190535e5
This reverts commit 095fe5b43d
.
Pointless renames considered harmful. All they do is force people to
spend extra work updating their configs for no benefit, and hindering
the ability to switch between unstable and stable versions of NixOS.
Like, what was the value of having the "nixos." there? I mean, by
definition anything in a NixOS module has something to do with NixOS...
14 lines
289 B
Nix
14 lines
289 B
Nix
{ config, lib, ... }:
|
|
{
|
|
options = {
|
|
ec2 = {
|
|
hvm = lib.mkOption {
|
|
default = lib.versionAtLeast config.system.stateVersion "17.03";
|
|
internal = true;
|
|
description = ''
|
|
Whether the EC2 instance is a HVM instance.
|
|
'';
|
|
};
|
|
};
|
|
};
|
|
}
|