From dc4b2812e4c1b24f08349d4fdf23a8d85e0575a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Janne=20He=C3=9F?= Date: Sun, 24 Apr 2022 21:46:58 +0100 Subject: [PATCH] nixos/stage-1-systemd: Also accept packages as store paths --- nixos/modules/system/boot/systemd/initrd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/system/boot/systemd/initrd.nix b/nixos/modules/system/boot/systemd/initrd.nix index 6c1b42da1c4..5e4a50aa404 100644 --- a/nixos/modules/system/boot/systemd/initrd.nix +++ b/nixos/modules/system/boot/systemd/initrd.nix @@ -193,7 +193,7 @@ in { description = '' Store paths to copy into the initrd as well. ''; - type = types.listOf types.singleLineStr; + type = with types; listOf (oneOf [ singleLineStr package ]); default = []; };