fix(lib/disko/mkSwap): use size argument
This commit is contained in:
parent
a1622edd61
commit
a612fa7194
1 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@ let
|
|||
inherit (lib) mkOption;
|
||||
in
|
||||
{
|
||||
|
||||
# Verify the existence of a binary inside of a derivation.
|
||||
# Returns the path to the binary or throws.
|
||||
checkPath =
|
||||
|
@ -92,7 +91,7 @@ in
|
|||
};
|
||||
};
|
||||
mkSwap = size: {
|
||||
size = "32G";
|
||||
inherit size;
|
||||
content = {
|
||||
type = "swap";
|
||||
randomEncryption = true;
|
||||
|
|
Loading…
Add table
Reference in a new issue