diff options
Diffstat (limited to 'nixops/modules/ssh/default.nix')
-rw-r--r-- | nixops/modules/ssh/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/nixops/modules/ssh/default.nix b/nixops/modules/ssh/default.nix index e8d6063..beedaff 100644 --- a/nixops/modules/ssh/default.nix +++ b/nixops/modules/ssh/default.nix | |||
@@ -1,4 +1,4 @@ | |||
1 | { lib, pkgs, config, mylibs, myconfig, ... }: | 1 | { lib, pkgs, config, myconfig, ... }: |
2 | { | 2 | { |
3 | config = { | 3 | config = { |
4 | networking.firewall.allowedTCPPorts = [ 22 ]; | 4 | networking.firewall.allowedTCPPorts = [ 22 ]; |
@@ -25,7 +25,7 @@ | |||
25 | # move it in the nix store. | 25 | # move it in the nix store. |
26 | environment.etc."ssh/ldap_authorized_keys" = let | 26 | environment.etc."ssh/ldap_authorized_keys" = let |
27 | ldap_authorized_keys = | 27 | ldap_authorized_keys = |
28 | mylibs.wrap { | 28 | pkgs.mylibs.wrap { |
29 | name = "ldap_authorized_keys"; | 29 | name = "ldap_authorized_keys"; |
30 | file = ./ldap_authorized_keys.sh; | 30 | file = ./ldap_authorized_keys.sh; |
31 | paths = [ pkgs.which pkgs.gitolite pkgs.openldap pkgs.stdenv.shellPackage pkgs.gnugrep pkgs.gnused pkgs.coreutils ]; | 31 | paths = [ pkgs.which pkgs.gitolite pkgs.openldap pkgs.stdenv.shellPackage pkgs.gnugrep pkgs.gnused pkgs.coreutils ]; |