forked from mirrors/nixpkgs
973fa21b52
be used on HVM instances without needing nixops. Previously
the grub setup was incorrect, so a plain 'nixos-rebuild switch'
and a reboot would result in a broken system.
Also added growing of the partition of the root disk in the initrd,
so you can run resize2fs after initial boot, without needing an
extra reboot. This is useful especially for nixops'
deployment.ec2.ebsInitialRootDiskSize option.
(cherry picked from commit 044a24e58b
)
6 lines
86 B
Nix
6 lines
86 B
Nix
{ config, pkgs, ...}:
|
|
{
|
|
imports = [ ./amazon-base-config.nix ];
|
|
ec2.hvm = true;
|
|
}
|