summaryrefslogtreecommitdiffstats
path: root/lass/1systems/prism
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2018-12-06 14:20:04 +0100
committerlassulus <lassulus@lassul.us>2018-12-06 14:20:04 +0100
commitd04c6be43d5c63f98a0c89aad512f19f1ffa6329 (patch)
tree125bf9ecc0ab965252429899665b896ab74eb0dc /lass/1systems/prism
parent0d560225f1a45b80fe94ec955a2d45434460ae20 (diff)
l prism.r: add dnsmasq for wireguard
Diffstat (limited to 'lass/1systems/prism')
-rw-r--r--lass/1systems/prism/config.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix
index e2097e93a..83cc96771 100644
--- a/lass/1systems/prism/config.nix
+++ b/lass/1systems/prism/config.nix
@@ -323,6 +323,15 @@ with import <stockholm/lib>;
}
];
};
+ services.dnsmasq = {
+ enable = true;
+ resolveLocalQueries = false;
+
+ extraConfig= ''
+ except-interface=lo
+ interface=wg0
+ '';
+ };
}
{
krebs.iptables.tables.filter.INPUT.rules = [