updated mysql
This commit is contained in:
parent
e5af2ed5d5
commit
2d66279421
|
@ -45,23 +45,21 @@
|
|||
# Enable the CUDA toolkit
|
||||
#install packages
|
||||
environment.systemPackages = with pkgs; [
|
||||
#cudaPackages.cudnn
|
||||
cudaPackages.cudatoolkit
|
||||
cudaPackages.cudnn
|
||||
nvtopPackages.nvidia
|
||||
libxcrypt-legacy
|
||||
gcc
|
||||
xgboostWithCuda
|
||||
cudaPackages.setupCudaHook
|
||||
cudaPackages.nccl
|
||||
cudaPackages.markForCudatoolkitRootHook
|
||||
cmake
|
||||
llama-cpp
|
||||
python3Packages.pip
|
||||
cudaPackages.cuda_cudart
|
||||
cudaPackages.cuda_cudart.static
|
||||
pkgs.cudaPackages.libcublas
|
||||
|
||||
#cudaPackages.cuda_cudart
|
||||
#xgboostWithCuda
|
||||
#libxcrypt-legacy
|
||||
#cudaPackages.setupCudaHook
|
||||
#cudaPackages.markForCudatoolkitRootHook
|
||||
#cudaPackages.cuda_cudart.static
|
||||
#pkgs.cudaPackages.libcublas
|
||||
#cudaPackages.tensorrt_8_6_0 #needs to be added manually, to the store and is a pain because of the license agreement and garbage collection
|
||||
|
||||
];
|
||||
|
|
|
@ -11,6 +11,30 @@
|
|||
services.mysql = {
|
||||
enable = true;
|
||||
package = pkgs.mariadb;
|
||||
settings = {
|
||||
mysql = {
|
||||
local-infile = true;
|
||||
default-character-set="utf8mb4";
|
||||
};
|
||||
mysqld = {
|
||||
key_buffer_size = "6G";
|
||||
table_cache = 1600;
|
||||
log-error = "/var/log/mysql_err.log";
|
||||
plugin-load-add = [ "server_audit" "ed25519=auth_ed25519" ];
|
||||
collation-server = "utf8mb4_danish_ci";
|
||||
local_infile = 1;
|
||||
secure-file-priv = "";
|
||||
sql_mode = "IGNORE_SPACE,STRICT_ALL_TABLES,NO_ENGINE_SUBSTITUTION";
|
||||
init_connect = "SET NAMES 'utf8mb4' COLLATE 'utf8mb4_danish_ci'";
|
||||
|
||||
};
|
||||
mysqldump = {
|
||||
quick = true;
|
||||
max_allowed_packet = "16M";
|
||||
};
|
||||
};
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue