mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
* Oops, fix an incomplete commit.
svn path=/nixos/trunk/; revision=34488
This commit is contained in:
parent
63517eca1b
commit
fd9604b319
1 changed files with 5 additions and 2 deletions
|
@ -47,10 +47,13 @@ with pkgs.lib;
|
|||
|
||||
size = mkOption {
|
||||
default = null;
|
||||
example = "swap";
|
||||
example = 2048;
|
||||
type = types.nullOr types.int;
|
||||
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 a new issue