nixpkgs/nixos/modules
Tuomas Tynkkynen 962e79ef32 nixos/make-disk-image.nix: Support EFI images
- Add a new parameter `imageType` that can specify either "efi" or
  "legacy" (the default which should see no change in behaviour by
  this patch).

- EFI images get a GPT partition table (instead of msdos) with a
  mandatory ESP partition (so we add an assert that `partitioned`
  is true).

- Use the partx tool from util-linux to determine exact start + size
  of the root partition. This is required because GPT stores a secondary
  partition table at the end of the disk, so we can't just have
  mkfs.ext4 create the filesystem until the end of the disk.

- (Unrelated to any EFI changes) Since we're depending on the
  `-E offset=X` option to mkfs which is only supported by e2fsprogs,
  disallow any attempts of creating partitioned disk images where
  the root filesystem is not ext4.
2018-01-22 11:18:23 +02:00
..
config environment.variables: give an example 2018-01-22 10:40:23 +09:00
hardware intel-ocl: r4.0-59481 -> 5.0-63503 2017-11-01 17:59:49 +00:00
i18n/input-method Remove top-level kde5 attribute 2017-02-27 11:49:10 -06:00
installer Merge pull request #32031 from NixOS/unstable-aarch64 2017-12-12 17:44:07 -05:00
misc nixos/mighttpd2: init 2018-01-16 21:04:09 +00:00
profiles nixos/profiles/all-hardware: remove unavailable modules 2017-12-29 11:37:21 +01:00
programs zsh doc: precise environment.shellAliases 2018-01-22 10:40:23 +09:00
security sudo: define extra rules in Nix language (#33905) 2018-01-17 14:56:08 +00:00
services nixos/stunnel: add module (#33151) 2018-01-21 11:23:07 +00:00
system nixos/initrd-network: fix docbook syntax 2018-01-22 00:01:49 +00:00
tasks nixos: zfs: correct the networking.hostId error message 2017-12-20 17:56:03 -05:00
testing tests: logToJournal has been renamed 2017-12-06 17:45:40 +08:00
virtualisation nixos/make-disk-image.nix: Support EFI images 2018-01-22 11:18:23 +02:00
module-list.nix nixos/stunnel: add module (#33151) 2018-01-21 11:23:07 +00:00
rename.nix Revert "nixos/dnscrypt-proxy: remove" 2018-01-08 15:09:33 +01:00