blob: 4b539bc10f3fe01c73a33482392d965fdb8a97e9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{ config, pkgs, lib, ... }:
let
inherit (import ../../4lib { inherit lib pkgs; })
manageCerts
activateACME
ssl
servePage
serveWordpress;
in {
imports = [
( manageCerts [ "biostase.de" "www.biostase.de" ])
#( serveWordpress [ "biostase.de" "www.biostase.de" ])
( manageCerts [ "radical-dreamers.de" "www.radical-dreamers.de" ])
( serveWordpress [ "radical-dreamers.de" "www.radical-dreamers.de" ])
( manageCerts [ "gs-maubach.de" "www.gs-maubach.de" ])
( serveWordpress [ "gs-maubach.de" "www.gs-maubach.de" ])
( manageCerts [ "spielwaren-kern.de" "www.spielwaren-kern.de" ])
( serveWordpress [ "spielwaren-kern.de" "www.spielwaren-kern.de" ])
( manageCerts [ "familienpraxis-korntal.de" "www.familienpraxis-korntal.de" ])
( servePage [ "familienpraxis-korntal.de" "www.familienpraxis-korntal.de" ])
( manageCerts [ "ttf-kleinaspach.de" "www.ttf-kleinaspach.de" ])
( serveWordpress [ "ttf-kleinaspach.de" "www.ttf-kleinaspach.de" ])
( ssl [ "eastuttgart.de" "www.eastuttgart.de" ])
( serveWordpress [ "eastuttgart.de" "www.eastuttgart.de" ])
( ssl [ "www.habsys.de" "habsys.de" "www.habsys.eu" "habsys.eu" ])
( servePage [ "www.habsys.de" "habsys.de" "www.habsys.eu" "habsys.eu" ])
];
services.mysql = {
enable = true;
package = pkgs.mariadb;
rootPassword = toString (<secrets/mysql_rootPassword>);
};
lass.mysqlBackup = {
enable = true;
config.fritz = {
password = toString (<secrets/mysql_rootPassword>);
databases = [
"biostase_de"
"eastuttgart_de"
"radical_dreamers_de"
"spielwaren_kern_de"
"ttf_kleinaspach_de"
];
};
};
}
|