summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2018-03-01 21:21:27 -0500
committerShea Levy <shea@shealevy.com>2018-03-01 21:21:27 -0500
commitf2937b74854625b664eb5cb5ca900d80cf0c390b (patch)
tree2e391bd92ad6ed9370c708f0768af845b307595e /nixos
parentb62a26ea41fc1b73d7205505fa790b6bb34db922 (diff)
downloadnixpkgs-f2937b74854625b664eb5cb5ca900d80cf0c390b.tar
nixpkgs-f2937b74854625b664eb5cb5ca900d80cf0c390b.tar.gz
nixpkgs-f2937b74854625b664eb5cb5ca900d80cf0c390b.tar.bz2
nixpkgs-f2937b74854625b664eb5cb5ca900d80cf0c390b.tar.lz
nixpkgs-f2937b74854625b664eb5cb5ca900d80cf0c390b.tar.xz
nixpkgs-f2937b74854625b664eb5cb5ca900d80cf0c390b.tar.zst
nixpkgs-f2937b74854625b664eb5cb5ca900d80cf0c390b.zip
initrd-ssh: Fix for new dropbear version.
For some reason 2018.76 dropped the -m flag.
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/system/boot/initrd-ssh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/system/boot/initrd-ssh.nix b/nixos/modules/system/boot/initrd-ssh.nix
index cdeff484594..8b3dc2d90eb 100644
--- a/nixos/modules/system/boot/initrd-ssh.nix
+++ b/nixos/modules/system/boot/initrd-ssh.nix
@@ -118,7 +118,7 @@ in
         echo ${escapeShellArg key} >> /root/.ssh/authorized_keys
       '') cfg.authorizedKeys)}
 
-      dropbear -s -j -k -E -m -p ${toString cfg.port} ${optionalString (cfg.hostRSAKey == null && cfg.hostDSSKey == null && cfg.hostECDSAKey == null) "-R"}
+      dropbear -s -j -k -E -p ${toString cfg.port} ${optionalString (cfg.hostRSAKey == null && cfg.hostDSSKey == null && cfg.hostECDSAKey == null) "-R"}
     '';
 
     boot.initrd.secrets =