Some small tweaks to mariadb
This commit is contained in:
parent
97aa91958f
commit
6ac981a064
|
@ -124,6 +124,8 @@
|
||||||
programs.home-manager.enable = true;
|
programs.home-manager.enable = true;
|
||||||
programs.git = {
|
programs.git = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
userEmail = "git@gladtherescake.eu";
|
||||||
|
userName = "Lillian-Violet";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Nicely reload system units when changing configs
|
# Nicely reload system units when changing configs
|
||||||
|
|
|
@ -57,6 +57,7 @@
|
||||||
dbuser = "nextcloud";
|
dbuser = "nextcloud";
|
||||||
dbhost = "/run/mysql";
|
dbhost = "/run/mysql";
|
||||||
dbname = "NC";
|
dbname = "NC";
|
||||||
|
dbport = 3306;
|
||||||
dbpassFile = config.sops.secrets."nextclouddb".path;
|
dbpassFile = config.sops.secrets."nextclouddb".path;
|
||||||
|
|
||||||
#TODO: work with sops to set this instead of a file & make sure the db setup is the same as on the previous server for easy migration
|
#TODO: work with sops to set this instead of a file & make sure the db setup is the same as on the previous server for easy migration
|
||||||
|
@ -66,6 +67,13 @@
|
||||||
};
|
};
|
||||||
|
|
||||||
services.mysql = {
|
services.mysql = {
|
||||||
|
settings = {
|
||||||
|
mysqld = {
|
||||||
|
log-error = "/var/log/mysql_err.log";
|
||||||
|
port = 3306;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
package = pkgs.mariadb_110;
|
package = pkgs.mariadb_110;
|
||||||
|
|
Loading…
Reference in a new issue