mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
Fix eval error due to config.ec2.hvm
This commit is contained in:
parent
279565c3d6
commit
35dbcbb296
2 changed files with 7 additions and 9 deletions
|
@ -15,6 +15,12 @@ let cfg = config.ec2; in
|
|||
|
||||
config = {
|
||||
|
||||
assertions = [
|
||||
{ assertion = cfg.hvm;
|
||||
message = "Paravirtualized EC2 instances are no longer supported.";
|
||||
}
|
||||
];
|
||||
|
||||
virtualisation.growPartition = cfg.hvm;
|
||||
|
||||
fileSystems."/" = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue