about summary refs log tree commit diff
path: root/nixos/modules/virtualisation/amazon-options.nix
AgeCommit message (Collapse)AuthorFilesLines
2023-01-30nixos/virtualisation/*: replace deprecated types.string with types.strSandro Jäckel1-2/+2
2023-01-08nixos/amazon-option: Tolerate harmless ec2.hvm for compatibilityRobert Hensing1-3/+6
Throwing an error necessitates changes in NixOps that are not safe yet.
2022-11-23nixos/ec2: remove paravirtualization-specific codeLinus Heckemann1-7/+3
Paravirtualized EC2 instances haven't been supported since 2017. It's safe to remove this now.
2022-08-31nixos/*: convert internal option descriptions to MDpennae1-3/+3
we'll have to do it eventually, may as well be now.
2022-08-19nixos/*: mark pre-existing markdown descriptions as mdDocpennae1-1/+1
2022-07-30treewide: automatically md-convert option descriptionspennae1-2/+2
the conversion procedure is simple: - find all things that look like options, ie calls to either `mkOption` or `lib.mkOption` that take an attrset. remember the attrset as the option - for all options, find a `description` attribute who's value is not a call to `mdDoc` or `lib.mdDoc` - textually convert the entire value of the attribute to MD with a few simple regexes (the set from mdize-module.sh) - if the change produced a change in the manual output, discard - if the change kept the manual unchanged, add some text to the description to make sure we've actually found an option. if the manual changes this time, keep the converted description this procedure converts 80% of nixos options to markdown. around 2000 options remain to be inspected, but most of those fail the "does not change the manual output check": currently the MD conversion process does not faithfully convert docbook tags like <code> and <package>, so any option using such tags will not be converted at all.
2021-12-02nixos/*: add trivial defaultText for options with simple defaultspennae1-1/+2
2021-08-25NixOS/amazonImageZfs: initGraham Christensen1-1/+53
Introduce an AWS EC2 AMI which supports aarch64 and x86_64 with a ZFS root. This uses `make-zfs-image` which implies two EBS volumes are needed inside EC2, one for boot, one for root. It should not matter which is identified `xvda` and which is `xvdb`, though I have always uploaded `boot` as `xvda`.
2019-09-05amazon-image.nix: add EFI support, enable by default for aarch64Andrew Childs1-1/+8
2018-07-28Revert "nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1"Tuomas Tynkkynen1-1/+1
This reverts commit 095fe5b43def40279a243e663c662b02caac5318. 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...
2018-07-20[bot] nixos/*: remove unused arguments in lambdasvolth1-1/+1
2018-05-12nixos: rename system.{stateVersion,defaultChannel} -> system.nixos.\1Jan Malakhovski1-1/+1
2017-04-04Fix eval error due to config.ec2.hvmEelco Dolstra1-9/+1
2017-04-04Revert "Revert "EC2: Disable PV support""Eelco Dolstra1-1/+7
This reverts commit 71710fd099ce6c46b54f05c6cf769e73cf11d49f.
2017-04-04Revert "EC2: Disable PV support"Jörg Thalheim1-7/+1
This reverts commit fbe6d23624b0b62cb5754d37ab81007cd4c035ab. this breaks every non-ec2 (non-hvm) system cc @edolstra
2017-04-03EC2: Disable PV supportEelco Dolstra1-1/+7
Unfortunately, somewhere between 16.09 and 17.03, paravirtualized instances stopped working. They hang at the pv-grub prompt ("grubdom>"). I tried reverting to a 4.4 kernel, reverting kernel compression from xz to bzip2 (even though pv-grub is supposed to support xz), and reverting the only change to initrd generation (5a8147479e794d5932273d01790c3602b8abeedc). Nothing worked so I'm giving up.
2015-02-16Move amazon option out of amazon-image.nix, needed to make ec2.hvm usable ↵Rob Vermaas1-0/+16
from nixops, without breaking evaluation for other backends. (cherry picked from commit 213fe8427c5ce455b893c0c5c56cc38175bf36b7)