* Oops, fix an incomplete commit.
svn path=/nixos/trunk/; revision=34488
This commit is contained in:
parent
63517eca1b
commit
fd9604b319
|
@ -47,10 +47,13 @@ with pkgs.lib;
|
||||||
|
|
||||||
size = mkOption {
|
size = mkOption {
|
||||||
default = null;
|
default = null;
|
||||||
example = "swap";
|
example = 2048;
|
||||||
type = types.nullOr types.int;
|
type = types.nullOr types.int;
|
||||||
description = ''
|
description = ''
|
||||||
Label of the device. Can be used instead of <varname>device</varname>.
|
If this option is set, ‘device’ is interpreted as the
|
||||||
|
path of a swapfile that will be created automatically
|
||||||
|
with the indicated size (in megabytes) if it doesn't
|
||||||
|
exist.
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue