diff options
Diffstat (limited to 'custom/tinc/yggdrasil.nix')
-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; |