working on db stuff

This commit is contained in:
TheWanderingCrow 2026-03-23 13:52:54 -04:00
parent 5322e95d73
commit 81706fca9f
2 changed files with 11 additions and 2 deletions

View file

@ -74,8 +74,6 @@ in
repositoryFile = config.sops.secrets."restic/hetzner-handlerone/url".path;
passwordFile = config.sops.secrets."restic/hetzner-handlerone/key".path;
paths = [
"${volumePath}/flamesites/swgalaxyproject"
"${volumePath}/flamesites/nnsbluegrass"
"/home/crow/swgalaxysite/public_html"
"/home/crow/flamebandsite/public_html"
# Pocket-ID

View file

@ -2,9 +2,20 @@
environment.systemPackages = with pkgs; [
mycli
];
networking.firewall.allowedTCPPorts = [
3306
];
services.mysql = {
enable = true;
package = pkgs.mariadb_118;
configFile = pkgs.writeText "my.cnf" ''
[mariadb]
log-bin
server_id=1
log-basename=master1
binlog-format=mixed
'';
};
}