modules/services/networking/ssh/sshd.nix: strip trailing whitespace
svn path=/nixos/trunk/; revision=27733
This commit is contained in:
parent
ea84edd528
commit
0ffb794d5d
@ -19,9 +19,9 @@ in
|
|||||||
{
|
{
|
||||||
|
|
||||||
###### interface
|
###### interface
|
||||||
|
|
||||||
options = {
|
options = {
|
||||||
|
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
|
|
||||||
enable = mkOption {
|
enable = mkOption {
|
||||||
@ -99,7 +99,7 @@ in
|
|||||||
default = "";
|
default = "";
|
||||||
description = "Verbatim contents of <filename>sshd_config</filename>.";
|
description = "Verbatim contents of <filename>sshd_config</filename>.";
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
@ -144,7 +144,7 @@ in
|
|||||||
|
|
||||||
daemonType = "fork";
|
daemonType = "fork";
|
||||||
|
|
||||||
exec =
|
exec =
|
||||||
''
|
''
|
||||||
${pkgs.openssh}/sbin/sshd -h /etc/ssh/ssh_host_dsa_key \
|
${pkgs.openssh}/sbin/sshd -h /etc/ssh/ssh_host_dsa_key \
|
||||||
-f ${pkgs.writeText "sshd_config" cfg.extraConfig}
|
-f ${pkgs.writeText "sshd_config" cfg.extraConfig}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user