summary refs log tree commit diff
path: root/nixos/modules/services/networking/ssh/lshd.nix
diff options
context:
space:
mode:
authorEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-09 17:18:54 +0200
committerEelco Dolstra <eelco.dolstra@logicblox.com>2014-08-09 17:19:09 +0200
commit4668f374448dce5ed92707eb2d20d77bf7380b47 (patch)
tree3988ac90fe2bae7691caafc53b4d11d6f9b30014 /nixos/modules/services/networking/ssh/lshd.nix
parent926514868c041fd40812d9039503edf66af025dd (diff)
downloadnixpkgs-4668f374448dce5ed92707eb2d20d77bf7380b47.tar
nixpkgs-4668f374448dce5ed92707eb2d20d77bf7380b47.tar.gz
nixpkgs-4668f374448dce5ed92707eb2d20d77bf7380b47.tar.bz2
nixpkgs-4668f374448dce5ed92707eb2d20d77bf7380b47.tar.lz
nixpkgs-4668f374448dce5ed92707eb2d20d77bf7380b47.tar.xz
nixpkgs-4668f374448dce5ed92707eb2d20d77bf7380b47.tar.zst
nixpkgs-4668f374448dce5ed92707eb2d20d77bf7380b47.zip
Fix NixOS evaluation on i686-linux
Diffstat (limited to 'nixos/modules/services/networking/ssh/lshd.nix')
-rw-r--r--nixos/modules/services/networking/ssh/lshd.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/nixos/modules/services/networking/ssh/lshd.nix b/nixos/modules/services/networking/ssh/lshd.nix
index fca30a1fe49..81e523fd2a5 100644
--- a/nixos/modules/services/networking/ssh/lshd.nix
+++ b/nixos/modules/services/networking/ssh/lshd.nix
@@ -99,7 +99,6 @@ in
       };
 
       subsystems = mkOption {
-        default = [ ["sftp" "${pkgs.lsh}/sbin/sftp-server"] ];
         description = ''
           List of subsystem-path pairs, where the head of the pair
           denotes the subsystem name, and the tail denotes the path to
@@ -116,6 +115,8 @@ in
 
   config = mkIf cfg.enable {
 
+    services.lshd.subsystems = [ ["sftp" "${pkgs.lsh}/sbin/sftp-server"] ];
+
     jobs.lshd =
       { description = "GNU lshd SSH2 daemon";