From 8e7bfe4efd93f17c033069808e6f3838866de190 Mon Sep 17 00:00:00 2001 From: Jared Baur Date: Thu, 4 Dec 2025 13:04:56 -0800 Subject: [PATCH] nixos/oci-containers: change imageFile option type There should not be a strict requirement that the value of `imageFile` is an output path, any path (including nested files in output paths) to a valid image file should work. --- nixos/modules/virtualisation/oci-containers.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/virtualisation/oci-containers.nix b/nixos/modules/virtualisation/oci-containers.nix index 24337cb6f8d7..5b3576c97acd 100644 --- a/nixos/modules/virtualisation/oci-containers.nix +++ b/nixos/modules/virtualisation/oci-containers.nix @@ -30,7 +30,7 @@ let }; imageFile = mkOption { - type = with types; nullOr package; + type = with types; nullOr pathInStore; default = null; description = '' Path to an image file to load before running the image. This can