system.fileSystem.resume: fix

This commit is contained in:
陈浩南 2024-03-15 11:07:33 +08:00
parent e8e316b8bb
commit da629f2480

View File

@ -50,11 +50,9 @@ inputs:
# device or { device, offset }
resume = mkOption
{
type = types.nullOr (types.str or (types.submodule
{
options =
{ device = mkOption { type = types.nonEmptyStr; }; offset = mkOption { type = types.ints.unsigned; }; };
}));
type = types.nullOr (types.oneOf [ types.nonEmptyStr (types.submodule { options =
{ device = mkOption { type = types.nonEmptyStr; }; offset = mkOption { type = types.ints.unsigned; }; };
})]);
default = null;
};
rollingRootfs = mkOption