Author: eelco
Date: Sat Feb 25 17:31:39 2012
New Revision: 32558
URL: https://nixos.org/websvn/nix/?rev=32558&sc=1

Log:
* In the users...keyFiles option, the "string" type doesn't work very
  well because elements could be paths, e.g.

    users.extraUsers.root.openssh.authorizedKeys.keyFiles =
      [ ./id_key.pub ];

  So disable the type check for now.

Modified:
   nixos/trunk/modules/services/networking/ssh/sshd.nix

Modified: nixos/trunk/modules/services/networking/ssh/sshd.nix
==============================================================================
--- nixos/trunk/modules/services/networking/ssh/sshd.nix        Sat Feb 25 
16:47:21 2012        (r32557)
+++ nixos/trunk/modules/services/networking/ssh/sshd.nix        Sat Feb 25 
17:31:39 2012        (r32558)
@@ -57,7 +57,7 @@
       };
 
       keyFiles = mkOption {
-        type = types.listOf types.string;
+        #type = types.listOf types.string;
         default = [];
         description = ''
           A list of files each containing one OpenSSH public keys that should 
be
_______________________________________________
nix-commits mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-commits

Reply via email to