Commit d944fb4a authored by Samuel Dionne-Riel's avatar Samuel Dionne-Riel Committed by Thiago Kenji Okada
Browse files

nixos/virtualization: Allow building EFI OCI images

parent 9849ccb2
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
{ config, lib, pkgs, ... }:

let
  cfg = config.oci;
in
{
  imports = [ ./oci-common.nix ];

@@ -10,6 +13,7 @@
      configFile = ./oci-config-user.nix;
      format = "qcow2";
      diskSize = 8192;
      partitionTableType = if cfg.efi then "efi" else "legacy";
    };

    systemd.services.fetch-ssh-keys = {