diff options
author | makefu <github@syntax-fehler.de> | 2015-10-04 18:55:53 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-10-04 19:46:34 +0200 |
commit | 6ae5ee3b33331134f9f9e7ad3975e4d3343fcacc (patch) | |
tree | b7acfeb290b956441250a76df24dd396a284853e /1systems/wry.nix | |
parent | a4024781c609886895e21e85d44387bb31a4404c (diff) |
configure graphs for wry
Diffstat (limited to '1systems/wry.nix')
-rw-r--r-- | 1systems/wry.nix | 12 |
1 files changed, 10 insertions, 2 deletions
diff --git a/1systems/wry.nix b/1systems/wry.nix index b4cdab7cf..9368f1ae5 100644 --- a/1systems/wry.nix +++ b/1systems/wry.nix @@ -9,9 +9,8 @@ in { ../2configs/base.nix ../2configs/base-sources.nix ../2configs/tinc-basic-retiolum.nix - { - } ]; + networking.firewall.allowPing = true; networking.interfaces.enp2s1.ip4 = [ { @@ -29,6 +28,15 @@ in { # prepare graphs nixpkgs.config.packageOverrides = pkgs: { tinc = pkgs.tinc_pre; }; + krebs.nginx.enable = true; + makefu.tinc_graphs.enable = true; + makefu.tinc_graphs.krebsNginx = { + enable = true; + hostnames_complete = [ "graphs.wry" "graphs.wry.retiolum" ]; + # TODO: remove hard-coded path + hostnames_anonymous = [ "graphs.krebsco.de" ]; + }; + networking.firewall.allowedTCPPorts = [80]; krebs.build = { user = config.krebs.users.makefu; |