mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
nixos/services.bees: Fix evaluation
``` error: undefined variable 'mod' ```
This commit is contained in:
parent
282e35e076
commit
422ae9928a
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ let
|
|||
example = "LABEL=MyBulkDataDrive";
|
||||
};
|
||||
options.hashTableSizeMB = lib.mkOption {
|
||||
type = lib.types.addCheck lib.types.int (n: mod n 16 == 0);
|
||||
type = lib.types.addCheck lib.types.int (n: lib.mod n 16 == 0);
|
||||
default = 1024; # 1GB; default from upstream beesd script
|
||||
description = ''
|
||||
Hash table size in MB; must be a multiple of 16.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue