diff options
Diffstat (limited to 'virtual/modules/databases')
-rw-r--r-- | virtual/modules/databases/default.nix | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/virtual/modules/databases/default.nix b/virtual/modules/databases/default.nix index b896428..e3a5612 100644 --- a/virtual/modules/databases/default.nix +++ b/virtual/modules/databases/default.nix | |||
@@ -57,18 +57,11 @@ in { | |||
57 | 57 | ||
58 | networking.firewall.allowedTCPPorts = [ 3306 5432 ]; | 58 | networking.firewall.allowedTCPPorts = [ 3306 5432 ]; |
59 | 59 | ||
60 | # FIXME: initial sync | ||
61 | # FIXME: backup | ||
62 | # FIXME: restart after pam | ||
63 | # FIXME: pam access doesn’t work (because of php module) | ||
64 | # FIXME: ssl | ||
65 | services.mysql = rec { | 60 | services.mysql = rec { |
66 | enable = cfg.mariadb.enable; | 61 | enable = cfg.mariadb.enable; |
67 | package = pkgs.mariadb; | 62 | package = pkgs.mariadb; |
68 | }; | 63 | }; |
69 | 64 | ||
70 | # Cannot use eldiron: psql complains too much rights on the key, and | ||
71 | # setfacl cannot work properly because of acme prestart script | ||
72 | security.acme.certs."postgresql" = config.services.myCertificates.certConfig // { | 65 | security.acme.certs."postgresql" = config.services.myCertificates.certConfig // { |
73 | user = "postgres"; | 66 | user = "postgres"; |
74 | group = "postgres"; | 67 | group = "postgres"; |
@@ -83,7 +76,6 @@ in { | |||
83 | install -m 0755 -o postgres -g postgres -d /run/postgresql | 76 | install -m 0755 -o postgres -g postgres -d /run/postgresql |
84 | ''; | 77 | ''; |
85 | 78 | ||
86 | # FIXME: initial sync | ||
87 | services.postgresql = rec { | 79 | services.postgresql = rec { |
88 | enable = cfg.postgresql.enable; | 80 | enable = cfg.postgresql.enable; |
89 | package = pkgs.postgresql; | 81 | package = pkgs.postgresql; |
@@ -161,7 +153,6 @@ in { | |||
161 | } | 153 | } |
162 | ]; | 154 | ]; |
163 | 155 | ||
164 | # FIXME: backup | ||
165 | # Diaspora: 15 | 156 | # Diaspora: 15 |
166 | # Nextcloud: 14 | 157 | # Nextcloud: 14 |
167 | # Mastodon: 13 | 158 | # Mastodon: 13 |