diff options
author | lassulus <lass@aidsballs.de> | 2015-11-13 01:10:55 +0100 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-11-13 01:10:55 +0100 |
commit | c373eac636525a65d28c1f39cbf599edbcf60ebc (patch) | |
tree | d13f049d1a7eece11cc7c248d5dd24da918f401c | |
parent | 58890bc80b28ed02e98b21a054849220a69919cb (diff) |
l 1 mors: use new wordpress test
-rw-r--r-- | lass/1systems/mors.nix | 23 |
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; |