nixos/stage-1-systemd: Also accept packages as store paths

This commit is contained in:
Janne Heß
2022-04-24 21:47:34 +01:00
parent 6b4d3add60
commit dc4b2812e4
+1 -1
View File
@@ -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 = [];
};