From 70ddde12c20b82dededf056dcca093044d2b6235 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Fri, 6 Apr 2018 13:40:00 +0200 Subject: =?UTF-8?q?=E2=80=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- custom/uucp.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'custom') diff --git a/custom/uucp.nix b/custom/uucp.nix index d8deae70..9bad979e 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix @@ -131,10 +131,16 @@ in { defaultProtocols = mkOption { type = types.string; - default = "e"; + default = "te"; description = "UUCP protocol to use within ssh unless overriden"; }; + incomingProtocols = mkOption { + type = types.string; + default = "te"; + description = "UUCP protocols to use when called"; + }; + homeDir = mkOption { type = types.path; default = "/var/uucp"; @@ -279,7 +285,7 @@ in { text = '' port ssh type stdin - protocol e + protocol ${cfg.incomingProtocols} '' + concatStringsSep "\n" (mapAttrsToList portSpec cfg.remoteNodes); }; environment.etc."uucp/sys" = { -- cgit v1.2.3