about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorJoachim Schiele <js@lastlog.de>2017-06-22 11:50:09 +0200
committerJoachim Schiele <js@lastlog.de>2017-06-22 11:50:09 +0200
commit3d52203ab2a2aa31df8ae52efda3b14e75628a57 (patch)
tree0bf24c27682057e2069140c430b178c06baa9f70 /nixos
parentf12006bd962188762c37f34dc8416c03ba026835 (diff)
sshd.nix: Added nixops usage warning of openssh.authorizedKeys.keys usage
Diffstat (limited to 'nixos')
-rw-r--r--nixos/modules/services/networking/ssh/sshd.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nixos/modules/services/networking/ssh/sshd.nix b/nixos/modules/services/networking/ssh/sshd.nix
index bebf4e145ca86..0f58536b4b734 100644
--- a/nixos/modules/services/networking/ssh/sshd.nix
+++ b/nixos/modules/services/networking/ssh/sshd.nix
@@ -21,6 +21,8 @@ let
           daemon reads in addition to the the user's authorized_keys file.
           You can combine the <literal>keys</literal> and
           <literal>keyFiles</literal> options.
+          Warning: If you are using <literal>NixOps</literal> then don't use this 
+          option since it will replace the key required for deployment via ssh.
         '';
       };