From 27a4aa4a49b9befe278bb4dfa68a749822aea2c0 Mon Sep 17 00:00:00 2001 From: lassulus Date: Wed, 21 Oct 2015 15:59:47 +0200 Subject: l 1 echelon: add dnsmasq config --- lass/1systems/echelon.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'lass/1systems') diff --git a/lass/1systems/echelon.nix b/lass/1systems/echelon.nix index 80cb51060..94c793b08 100644 --- a/lass/1systems/echelon.nix +++ b/lass/1systems/echelon.nix @@ -33,6 +33,20 @@ in { { sound.enable = false; } + { + imports = [ + ../3modules/dnsmasq.nix + ]; + lass.dnsmasq = { + enable = true; + config = '' + interface=retiolum + ''; + }; + krebs.iptables.tables.filter.INPUT.rules = [ + { predicate = "-i retiolum -p udp --dport 53"; target = "ACCEPT"; } + ]; + } ]; krebs.build.host = config.krebs.hosts.echelon; -- cgit v1.2.3