diff options
| author | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-23 12:31:00 +0200 |
|---|---|---|
| committer | Gregor Kleen <gkleen@yggdrasil.li> | 2018-04-23 12:31:00 +0200 |
| commit | 52f3157d1a25048a9b3900a4241637eb1d3c3914 (patch) | |
| tree | ff345ab3aa0c02d54ad75455d23a922452ba6f4e /custom/tinc | |
| parent | 925158472c862e7a14a9fb468f475697c249b1c2 (diff) | |
| download | nixos-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.nix | 4 |
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; |
