diff options
author | lassulus <lass@aidsballs.de> | 2015-10-09 01:24:13 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-10-09 01:24:13 +0200 |
commit | c8c2b254e5f633618b43be6b348c747e903f7577 (patch) | |
tree | b6f1c253fb789031aaf5302fbbc74cb24744d1a5 /lass | |
parent | 8b42c0631e86da5e05a4659887d9c7958bf27636 (diff) |
lass 2: add go.nix
Diffstat (limited to 'lass')
-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"; } + ]; +} |