mirror of
https://github.com/CHN-beta/nixos.git
synced 2024-10-23 06:18:52 +08:00
system.fileSystem.resume: fix
This commit is contained in:
parent
e8e316b8bb
commit
da629f2480
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user