summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2016-04-27 12:55:11 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2016-04-27 12:55:11 +0200
commitbc58a98ec15e30b6b0765e2e73d16ca605db75a6 (patch)
treee09be38a00806beb127c10a3a9ce22d4aa8b6865
parent8032fa45ce4cf74776ad526888de04cc5866105f (diff)
downloadnixos-bc58a98ec15e30b6b0765e2e73d16ca605db75a6.tar
nixos-bc58a98ec15e30b6b0765e2e73d16ca605db75a6.tar.gz
nixos-bc58a98ec15e30b6b0765e2e73d16ca605db75a6.tar.bz2
nixos-bc58a98ec15e30b6b0765e2e73d16ca605db75a6.tar.xz
nixos-bc58a98ec15e30b6b0765e2e73d16ca605db75a6.zip
better port setup
-rw-r--r--custom/uucp.nix8
1 files changed, 7 insertions, 1 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix
index 6fabe882..da59d74d 100644
--- a/custom/uucp.nix
+++ b/custom/uucp.nix
@@ -14,6 +14,8 @@ let
14 system ${name} 14 system ${name}
15 time Any 15 time Any
16 port ${name} 16 port ${name}
17 chat ""
18 protocol e
17 ''; 19 '';
18in { 20in {
19 options = { 21 options = {
@@ -139,7 +141,11 @@ in {
139 ''; 141 '';
140 142
141 environment.etc."uucp/port" = { 143 environment.etc."uucp/port" = {
142 text = concatStringsSep "\n" (map portSpec config.services.uucp.remoteNodes); 144 text = ''
145 port ssh
146 type stdin
147 protocol e
148 '' + concatStringsSep "\n" (map portSpec config.services.uucp.remoteNodes);
143 }; 149 };
144 environment.etc."uucp/sys" = { 150 environment.etc."uucp/sys" = {
145 text = concatStringsSep "\n" (map sysSpec config.services.uucp.remoteNodes); 151 text = concatStringsSep "\n" (map sysSpec config.services.uucp.remoteNodes);