diff options
author | tv <tv@shackspace.de> | 2015-10-09 14:48:58 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-10-09 14:48:58 +0200 |
commit | 96f4248b65ff1539eded24572ae1805b27c53d50 (patch) | |
tree | 31ff450cc4a5166306c62f99fdd2d1caf3219ecb /lass/2configs/go.nix | |
parent | 694c79a5bc05014604fa2467f965b370102ff78f (diff) | |
parent | 4072a32f89b9cc1c1e7c3583ac5b9ce5dcb004af (diff) |
Merge remote-tracking branch 'cloudkrebs/master'
Diffstat (limited to 'lass/2configs/go.nix')
-rw-r--r-- | lass/2configs/go.nix | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/lass/2configs/go.nix b/lass/2configs/go.nix new file mode 100644 index 000000000..30d3e6ae5 --- /dev/null +++ b/lass/2configs/go.nix @@ -0,0 +1,16 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ../3modules/go.nix + ]; + environment.systemPackages = [ + pkgs.go + ]; + lass.go = { + enable = true; + }; + krebs.iptables.tables.filter.INPUT.rules = [ + { predicate = "-i retiolum -p tcp --dport 1337"; target = "ACCEPT"; } + ]; +} |