mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
nixos/sshd: drop mode from auth keys file. Closes #2559
This commit is contained in:
parent
9265a61453
commit
a3331eb87b
1 changed files with 0 additions and 1 deletions
|
@ -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}
|
||||
|
|
Loading…
Reference in a new issue