summaryrefslogtreecommitdiffstats
path: root/lass
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-10-21 15:59:47 +0200
committerlassulus <lass@aidsballs.de>2015-10-21 15:59:47 +0200
commit27a4aa4a49b9befe278bb4dfa68a749822aea2c0 (patch)
tree6fc536da6c95a29828e10519ef602f2a0ef3771d /lass
parent10be0e70063ba83fef47295ebcbb1ac11a22c6b5 (diff)
l 1 echelon: add dnsmasq config
Diffstat (limited to 'lass')
-rw-r--r--lass/1systems/echelon.nix14
1 files changed, 14 insertions, 0 deletions
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;