summaryrefslogtreecommitdiffstats
path: root/lass/1systems/mors.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-11-13 01:10:55 +0100
committerlassulus <lass@aidsballs.de>2015-11-13 01:10:55 +0100
commitc373eac636525a65d28c1f39cbf599edbcf60ebc (patch)
treed13f049d1a7eece11cc7c248d5dd24da918f401c /lass/1systems/mors.nix
parent58890bc80b28ed02e98b21a054849220a69919cb (diff)
l 1 mors: use new wordpress test
Diffstat (limited to 'lass/1systems/mors.nix')
-rw-r--r--lass/1systems/mors.nix23
1 files changed, 22 insertions, 1 deletions
diff --git a/lass/1systems/mors.nix b/lass/1systems/mors.nix
index 7db3f8333..803c149b8 100644
--- a/lass/1systems/mors.nix
+++ b/lass/1systems/mors.nix
@@ -18,10 +18,31 @@
../2configs/chromium-patched.nix
../2configs/git.nix
../2configs/retiolum.nix
- ../2configs/wordpress.nix
+ #../2configs/wordpress.nix
../2configs/bitlbee.nix
../2configs/firefoxPatched.nix
../2configs/skype.nix
+ {
+ #wordpress-test
+ #imports = singleton (sitesGenerators.createWordpress "testserver.de");
+ imports = [
+ ../3modules/wordpress_nginx.nix
+ ];
+ lass.wordpress."testserver.de" = {
+ };
+
+ services.mysql = {
+ enable = true;
+ package = pkgs.mariadb;
+ rootPassword = "<secrets>/mysql_rootPassword";
+ };
+ networking.extraHosts = ''
+ 10.243.0.2 testserver.de
+ '';
+ krebs.iptables.tables.filter.INPUT.rules = [
+ { predicate = "-i retiolum -p tcp --dport 80"; target = "ACCEPT"; precedence = 9998; }
+ ];
+ }
];
krebs.build.host = config.krebs.hosts.mors;