diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-15 23:22:32 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-05-15 23:22:32 +0200 |
commit | 1683de93383e8cd17dfa2e1206d965093e57c8bb (patch) | |
tree | 3ff6d48945fbba4b3968902e06897facce012cb0 /custom | |
parent | e27a28dd6b899629d11c44baff72f19340ef0cf1 (diff) | |
download | nixos-1683de93383e8cd17dfa2e1206d965093e57c8bb.tar nixos-1683de93383e8cd17dfa2e1206d965093e57c8bb.tar.gz nixos-1683de93383e8cd17dfa2e1206d965093e57c8bb.tar.bz2 nixos-1683de93383e8cd17dfa2e1206d965093e57c8bb.tar.xz nixos-1683de93383e8cd17dfa2e1206d965093e57c8bb.zip |
syntax
Diffstat (limited to 'custom')
-rw-r--r-- | custom/uucp.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/custom/uucp.nix b/custom/uucp.nix index b58268ae..7035b934 100644 --- a/custom/uucp.nix +++ b/custom/uucp.nix | |||
@@ -6,7 +6,7 @@ let | |||
6 | portSpec = name: '' | 6 | portSpec = name: '' |
7 | port ${name} | 7 | port ${name} |
8 | type pipe | 8 | type pipe |
9 | protocol ${if config.services.uucp.protocols ? name then config.services.uucp.protocols."${name}" else config.services.uucp.defaultProtocol} | 9 | protocol ${if builtins.hasAttr name config.services.uucp.protocols then config.services.uucp.protocols."${name}" else config.services.uucp.defaultProtocol} |
10 | reliable true | 10 | reliable true |
11 | command ${pkgs.openssh}/bin/ssh -x -o batchmode=yes ${name} | 11 | command ${pkgs.openssh}/bin/ssh -x -o batchmode=yes ${name} |
12 | ''; | 12 | ''; |
@@ -17,7 +17,7 @@ let | |||
17 | chat "" | 17 | chat "" |
18 | protocol ${if config.services.uucp.protocols ? name then config.services.uucp.protocols."${name}" else config.services.uucp.defaultProtocol} | 18 | protocol ${if config.services.uucp.protocols ? name then config.services.uucp.protocols."${name}" else config.services.uucp.defaultProtocol} |
19 | command-path ${concatStringsSep " " config.services.uucp.commandPath} | 19 | command-path ${concatStringsSep " " config.services.uucp.commandPath} |
20 | commands ${concatStringsSep " " (if config.services.uucp.commands ? name then config.services.uucp.commands."${name}" else config.services.uucp.defaultCommands)} | 20 | commands ${concatStringsSep " " (if builtins.hasAttr name config.services.uucp.commands then config.services.uucp.commands."${name}" else config.services.uucp.defaultCommands)} |
21 | ''; | 21 | ''; |
22 | in { | 22 | in { |
23 | options = { | 23 | options = { |