mirror of
https://github.com/TheWanderingCrow/CrOS.git
synced 2026-03-28 16:57:59 -04:00
working on db stuff
This commit is contained in:
parent
5322e95d73
commit
81706fca9f
2 changed files with 11 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
'';
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue