summaryrefslogtreecommitdiffstats
path: root/lass/2configs/go.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-09 01:24:13 +0200
committerlassulus <lass@aidsballs.de>2015-10-09 01:24:13 +0200
commitc8c2b254e5f633618b43be6b348c747e903f7577 (patch)
treeb6f1c253fb789031aaf5302fbbc74cb24744d1a5 /lass/2configs/go.nix
parent8b42c0631e86da5e05a4659887d9c7958bf27636 (diff)
lass 2: add go.nix
Diffstat (limited to 'lass/2configs/go.nix')
-rw-r--r--lass/2configs/go.nix16
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"; }
+ ];
+}