aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modules/apps/mariadb/mysqld.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/modules/apps/mariadb/mysqld.nix b/modules/apps/mariadb/mysqld.nix
index d66d96d..fb26ffe 100644
--- a/modules/apps/mariadb/mysqld.nix
+++ b/modules/apps/mariadb/mysqld.nix
@@ -177,6 +177,10 @@ in {
innodb_buffer_pool_instances = optional int;
innodb_buffer_pool_load_at_startup = optional bool;
innodb_buffer_pool_size = optional int;
+ innodb_compression_algorithm = optional (enum ["none" "zlib" "lz4" "lzo" "lzma" "bzip2" "snappy"]);
+ innodb_compression_failure_threshold_pct = optional (addCheck int (i: 0 <= i && i <= 100));
+ innodb_compression_level = optional (enum' [0 1 2 3 4 5 6 7 8 9]);
+ innodb_compression_pad_pct_max = optional (addCheck int (i: 0 <= i && i <= 75));
innodb_doublewrite = optional bool;
innodb_file_format = optional (enum ["antelope" "barracuda"]);
innodb_file_per_table = optional bool;