parent
c40a7f66fc
commit
0d638cdc20
18
packages.nix
18
packages.nix
@ -25,6 +25,24 @@ in {
|
|||||||
services.usbmuxd.enable = true;
|
services.usbmuxd.enable = true;
|
||||||
services.usbmuxd.user = "user";
|
services.usbmuxd.user = "user";
|
||||||
|
|
||||||
|
services.mysql = {
|
||||||
|
enable = true;
|
||||||
|
package = pkgs.mariadb;
|
||||||
|
settings = {
|
||||||
|
mysqld = {
|
||||||
|
innodb_read_io_threads = 256;
|
||||||
|
innodb_write_io_threads = 256;
|
||||||
|
innodb_io_capacity = 100500;
|
||||||
|
innodb_buffer_pool_size = "28G";
|
||||||
|
innodb_log_buffer_size = "256M";
|
||||||
|
innodb_log_file_size = "1G";
|
||||||
|
innodb_flush_log_at_trx_commit = 0;
|
||||||
|
innodb_doublewrite = 0;
|
||||||
|
innodb_open_files = 100500;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
virtualisation.docker.enable = true;
|
virtualisation.docker.enable = true;
|
||||||
|
|
||||||
virtualisation.libvirtd = {
|
virtualisation.libvirtd = {
|
||||||
|
Loading…
Reference in New Issue
Block a user