Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)

nixos/virtualization: Allow building EFI OCI images

authored by Samuel Dionne-Riel and committed by Thiago Kenji Okada d944fb4a 9849ccb2

+4
+4
nixos/modules/virtualisation/oci-image.nix
··· 1 1 { config, lib, pkgs, ... }: 2 2 3 + let 4 + cfg = config.oci; 5 + in 3 6 { 4 7 imports = [ ./oci-common.nix ]; 5 8 ··· 10 13 configFile = ./oci-config-user.nix; 11 14 format = "qcow2"; 12 15 diskSize = 8192; 16 + partitionTableType = if cfg.efi then "efi" else "legacy"; 13 17 }; 14 18 15 19 systemd.services.fetch-ssh-keys = {