nixos/sshd: drop mode from auth keys file. Closes #2559

This commit is contained in:
Luca Bruno 2014-06-26 10:15:34 +02:00
parent 9265a61453
commit a3331eb87b

View file

@ -56,7 +56,6 @@ let
authKeysFiles = let
mkAuthKeyFile = u: {
target = "ssh/authorized_keys.d/${u.name}";
mode = "0444";
source = pkgs.writeText "${u.name}-authorized_keys" ''
${concatStringsSep "\n" u.openssh.authorizedKeys.keys}
${concatMapStrings (f: readFile f + "\n") u.openssh.authorizedKeys.keyFiles}