diff options
Diffstat (limited to 'custom/uucp.nix')
-rw-r--r-- | custom/uucp.nix | 10 |
1 files changed, 8 insertions, 2 deletions
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 { | |||
131 | 131 | ||
132 | defaultProtocols = mkOption { | 132 | defaultProtocols = mkOption { |
133 | type = types.string; | 133 | type = types.string; |
134 | default = "e"; | 134 | default = "te"; |
135 | description = "UUCP protocol to use within ssh unless overriden"; | 135 | description = "UUCP protocol to use within ssh unless overriden"; |
136 | }; | 136 | }; |
137 | 137 | ||
138 | incomingProtocols = mkOption { | ||
139 | type = types.string; | ||
140 | default = "te"; | ||
141 | description = "UUCP protocols to use when called"; | ||
142 | }; | ||
143 | |||
138 | homeDir = mkOption { | 144 | homeDir = mkOption { |
139 | type = types.path; | 145 | type = types.path; |
140 | default = "/var/uucp"; | 146 | default = "/var/uucp"; |
@@ -279,7 +285,7 @@ in { | |||
279 | text = '' | 285 | text = '' |
280 | port ssh | 286 | port ssh |
281 | type stdin | 287 | type stdin |
282 | protocol e | 288 | protocol ${cfg.incomingProtocols} |
283 | '' + concatStringsSep "\n" (mapAttrsToList portSpec cfg.remoteNodes); | 289 | '' + concatStringsSep "\n" (mapAttrsToList portSpec cfg.remoteNodes); |
284 | }; | 290 | }; |
285 | environment.etc."uucp/sys" = { | 291 | environment.etc."uucp/sys" = { |