From ab183dbc00219bdb9804d5dc8ea4d3d254db3fd2 Mon Sep 17 00:00:00 2001 From: Jean-Pierre PRUNARET Date: Fri, 5 Jan 2018 21:11:31 +0100 Subject: [PATCH] ajout d'une option dans tinc pour stocker le nom DNS de la machine --- options.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/options.nix b/options.nix index d5cc47c..c300d1c 100644 --- a/options.nix +++ b/options.nix @@ -77,6 +77,11 @@ let tinc = { enable = mkEnableOption "Enable tinc service"; + dnsFQDN = mkOption { + example = "device.example.net."; + description = "DNS name of host pointing to tunnel IP."; + type = lib.types.string; + }; connectToAddress = mkOption { default = ""; example = "192.168.1.1";