Fix NixOS evaluation on i686-linux
This commit is contained in:
parent
926514868c
commit
4668f37444
@ -99,7 +99,6 @@ in
|
|||||||
};
|
};
|
||||||
|
|
||||||
subsystems = mkOption {
|
subsystems = mkOption {
|
||||||
default = [ ["sftp" "${pkgs.lsh}/sbin/sftp-server"] ];
|
|
||||||
description = ''
|
description = ''
|
||||||
List of subsystem-path pairs, where the head of the pair
|
List of subsystem-path pairs, where the head of the pair
|
||||||
denotes the subsystem name, and the tail denotes the path to
|
denotes the subsystem name, and the tail denotes the path to
|
||||||
@ -116,6 +115,8 @@ in
|
|||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
|
||||||
|
services.lshd.subsystems = [ ["sftp" "${pkgs.lsh}/sbin/sftp-server"] ];
|
||||||
|
|
||||||
jobs.lshd =
|
jobs.lshd =
|
||||||
{ description = "GNU lshd SSH2 daemon";
|
{ description = "GNU lshd SSH2 daemon";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user