summaryrefslogtreecommitdiff
path: root/custom/tinc
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2018-04-23 12:31:00 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2018-04-23 12:31:00 +0200
commit52f3157d1a25048a9b3900a4241637eb1d3c3914 (patch)
treeff345ab3aa0c02d54ad75455d23a922452ba6f4e /custom/tinc
parent925158472c862e7a14a9fb468f475697c249b1c2 (diff)
downloadnixos-52f3157d1a25048a9b3900a4241637eb1d3c3914.tar
nixos-52f3157d1a25048a9b3900a4241637eb1d3c3914.tar.gz
nixos-52f3157d1a25048a9b3900a4241637eb1d3c3914.tar.bz2
nixos-52f3157d1a25048a9b3900a4241637eb1d3c3914.tar.xz
nixos-52f3157d1a25048a9b3900a4241637eb1d3c3914.zip
Diffstat (limited to 'custom/tinc')
-rw-r--r--custom/tinc/yggdrasil.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/custom/tinc/yggdrasil.nix b/custom/tinc/yggdrasil.nix
index f5684d08..48fe2a2e 100644
--- a/custom/tinc/yggdrasil.nix
+++ b/custom/tinc/yggdrasil.nix
@@ -43,6 +43,10 @@ in {
43 }; 43 };
44 44
45 config = mkIf cfg.enable { 45 config = mkIf cfg.enable {
46 networking.extraResolvconfConf = ''
47 interface_order=lo lo[0-9]* yggdrasil
48 '';
49
46 services.customTinc.networks."yggdrasil" = { 50 services.customTinc.networks."yggdrasil" = {
47 inherit (cfg) name interfaceConfig; 51 inherit (cfg) name interfaceConfig;
48 debugLevel = 2; 52 debugLevel = 2;