diff options
author | makefu <github@syntax-fehler.de> | 2015-08-05 14:56:38 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-08-05 15:01:05 +0200 |
commit | 65bd605d73c0081679c795d4004b2681b549aeae (patch) | |
tree | 79289ed2a0dd088081639f6c6db74b763438f690 /1systems | |
parent | 35ab2bae8058ca345e6b073a7072c79b0120fe78 (diff) |
add graphite to pnp
Diffstat (limited to '1systems')
-rw-r--r-- | 1systems/pnp.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/1systems/pnp.nix b/1systems/pnp.nix index 549658983..a8df522f2 100644 --- a/1systems/pnp.nix +++ b/1systems/pnp.nix @@ -10,6 +10,7 @@ <nixpkgs/nixos/modules/profiles/qemu-guest.nix> ../2configs/base.nix ../2configs/cgit-retiolum.nix + ../2configs/graphite-standalone.nix ]; krebs.build.host = config.krebs.hosts.pnp; krebs.build.user = config.krebs.users.makefu; @@ -38,8 +39,13 @@ hardware.enableAllFirmware = true; hardware.cpu.amd.updateMicrocode = true; -# networking.firewall is enabled by default - networking.firewall.allowedTCPPorts = [ 80 ]; + networking.firewall.allowedTCPPorts = [ + # nginx runs on 80 + 80 + # graphite-web runs on 8080, carbon cache runs on 2003 tcp and udp + 8080 2003 + ]; + networking.firewall.allowedUDPPorts = [ 2003 ]; networking.firewall.rejectPackets = true; networking.firewall.allowPing = true; |